TIP: Click on subject to list as thread! ANSI
echo: delphi
to: MARTIN MAAT
from: FRANCOIS PIETTE
date: 1997-08-04 12:09:00
subject: TITLE BAR IN D3

Salut Martin Maat !
Dans un message de Martin Maat dat‚ du 01 Aug 97  20:27:04 il ‚tait dit:
  LS>> these tricks with the title bar? I also like the "Blend" effect in
  LS>> Microsoft programs, if anybody knows how to do that.
  FP>> There is a message sent by windows to the application when the
  FP>> title bar must be drawn. Most of the applications use the default
  FP>> procedure for this message which gives the standard title bar. If
  FP>> you want to draw another kind of title bar, just handle this
  FP>> message. Look at the windows on-line help.
  MM> If you know how to blend the bar I'd like to see an example.
you have to handle the wM_NCPAINT message which is sent by windows 
when it needs to draw the non-client area of a windows (title bar, 
border); if you have access to the MSDN CDROM, you'll find an old 
technical article "ItsyBitsy: Mini Title Bars for Windows". In this 
artcile, you'll find source code to draw a mini title bar. The 
technique evelopped there can be use to draw any custom title bar, 
including one with blend effect.
Amiti‚s,
{-Francois Piette-}
francois.piette@ping.be
http://www.rtfm.be/fpiette
--- SvFido 1.32
---------------
* Origin: OverByte BBS (Embourg-Belgium) 32-4-3651395 VFC/V34+ (2:293/2202)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.