-
February 16th, 2010, 05:53 PM
#1
Window Caption size change?
Hi,
I have a regular application window (created with WTL) and I need to make its caption bar thicker (taller) than then standard size. How can I do this programmatically without custom drawing the non-client area myself (handling the WM_NCPAINT message)?
I need to this this only for my window's caption bar (the title bar) and changing the system setting to apply to the whole system is not an option.
Thanks,
-Gianluca.
-
February 17th, 2010, 04:59 AM
#2
Re: Window Caption size change?
You can't. Caption sizes are global.
You will either need to do NC painting, or you will need to create a captionless window, and do all the painting yourself, simulating a caption.
If you can limit yourself to Vista and the glass UI, you can extend the glass effect into the client area making it appear to have a larger caption (DwmExtendFrameIntoClientArea), but this will still need you to do NC painting
-
February 17th, 2010, 11:50 AM
#3
Re: Window Caption size change?
Tags for this Thread
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
|