Change look of titelbar<--spelling?

Kuniva
04-09-2003, 08:47 AM
Not sure if its called the titlebar but anywayz how can i change the look of the titlebar ( where the minimize/maximize button is and close button )

Squirm
04-09-2003, 08:54 AM
It depends what you mean by 'change the look'. You can draw onto the titlebar using regular GDI drawing methods (BitBlt FillRect etc). You can get the non-client DC of the window using the GetWindowDC function. You can also do fancy things like put progressbars into your titlebar, ala EliteVB:
http://www.elitevb.com/content/01,0041,01/

matrixhacker
04-09-2003, 08:55 AM
well, you can do any of three options

1) change the forms border style
2) make your own form with the borderstyle = none
3) use subclassing the change the appearence of the title bar

to change the borderstyle go into the forms propeties and change it to whatever you want. i have recently made my own winamp style form widht all its own exit, minimize and maximize buttons. and i haven't used subclassing but i know you can use it to change a forms appearence like this

good look

stead ;)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum