|
-
February 6th, 2009, 02:46 AM
#1
color of title bar in dialog box
Hi All,
I need to change the color of title bar in dialog box and also border color of window.
Please help me..............
Thanks & Regards,
Priya
-
February 6th, 2009, 04:01 AM
#2
Re: color of title bar in dialog box
Those are defined globally on your system and are the same for all windows.
If you want to change that you will have to draw the titlebar and borders yourself.
You might be able to do this by handling WM_NCPAINT.
-
February 6th, 2009, 04:19 AM
#3
Re: color of title bar in dialog box
 Originally Posted by Marc G
Those are defined globally on your system and are the same for all windows.
If you want to change that you will have to draw the titlebar and borders yourself.
You might be able to do this by handling WM_NCPAINT.
I need the sample code.
-
February 6th, 2009, 05:13 AM
#4
Re: color of title bar in dialog box
-
February 6th, 2009, 08:08 AM
#5
Re: color of title bar in dialog box
 Originally Posted by Thu
Hi,
This sample code is very helpful for me.But i dont know how to set the window caption.
Please help me.....................
-
February 6th, 2009, 09:44 AM
#6
Re: color of title bar in dialog box
You draw the window caption use TextOut or DrawText.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|