|
-
May 10th, 1999, 09:56 AM
#1
Activating child CFrameWnd caption
I have several CFrameWnd objects that are children of a CScrollView. Since I need a CScrollView as the parent it doesn't seem like the CMDI classes will work for me. I want to designate one of the CFrameWnd children as the active window (activate the caption). How do I change the color of a CFrameWnd caption bar; I haven't been successful yet. I would like to be able to change it to the current Active Caption color as well as other colors.
In addition I would like the CFrameWnd child windows to have the minimize/maximize box style. I have created the windows with the WS_CAPTION|WS_MINIMIZEBOX|WS_MAXIMIZEBOX styles but the controls do not appear on the windows. Only if I include the WS_SYSMENU or WS_OVERLAPPEDWINDOW style do they appear. I really do not want the system menu or the close control; just want minimize and maximize. Does anyone know how to achieve this ?
Steve Halverson
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
|