Win32 Custom Dialog Boxes.
I am currently creating a dialog based program in Win32. I have seen programs that have custom drawn Title bars and borders for the Dialog box.(kinda like winamp)..I have been trying to find out how to do this, but with no luck.
If some one could reply back with some information on how to do these or a place where there is information I would greatly appreciate it.
-Lucas
-dieraxx@programmer.net
-Lucas
You have a couple of choices..
One is to just create a window with no title bar, no borders and draw everything yourself. This is probably how WinAMP is done.
Another is to handle the paint messages that draw the title bar and the window frame yourself. There is a sample project with source code at codeguru.com; here''s a link to it:
http://codeguru.earthweb.com/dialog/DrawOnTitleBar.shtml
Hope that helps..
// CHRIS
One is to just create a window with no title bar, no borders and draw everything yourself. This is probably how WinAMP is done.
Another is to handle the paint messages that draw the title bar and the window frame yourself. There is a sample project with source code at codeguru.com; here''s a link to it:
http://codeguru.earthweb.com/dialog/DrawOnTitleBar.shtml
Hope that helps..
// CHRIS
// CHRIS [win32mfc]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement