|
-
September 12th, 2009, 09:41 AM
#1
MDI Child Window Caption Styles
I want to customize the MDI child window caption bars in my application.
This article shows an approach to skinning the caption bar:
http://www.codeproject.com/KB/dialog...ptionbars.aspx
Looks like this guy just placed an image on top of the caption bar. The standard Xp caption bar can be seen under the skin.
I want thin caption bars as seen on the child window in the follow screen shot (NYSE Composite):
http://www.trade2win.com/boards/atta...l-untitled.jpg
Are these caption bars built-in? Is there a style to turn them on? If not, what is a better way to go about skinning the caption bar?
Thanks
-
September 12th, 2009, 05:29 PM
#2
Re: MDI Child Window Caption Styles
Have you noticed a date of creation of a sample you supplied in a first link; it is 2002, slightly outdated. I would not call it skinning.
There is no such a thing as a caption styles. Title bar is a part of the windows non-client area. To create custom title bar, you would have to write a code to handle non-client area: title bar, buttons and frame (as in the mentioned sample).
For Windows up toXP you can set WS_EX_TOOLWINDOW style to show thin frame. The drawback is you will have only close button.
I would suggest looking into visual styles supported in VS 2008.
There are only 10 types of people in the world:
Those who understand binary and those who do not.
-
September 12th, 2009, 08:25 PM
#3
Re: MDI Child Window Caption Styles
Thanks for the response. Just what I needed.
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
|