|
-
April 29th, 1999, 04:39 PM
#1
System Menu Buttons On Child Window
I am currently trying to find a way to disable the Minimize, Restore, and Close buttons on a Child Window of an MDI Project. When the child window is not maximized I have had success disabling the Minimize button by calling GetWindowLong and checking the WS_MAXIMIZE or WS_MINIMIZE bits. However, when the child window is maximized in the parent windows client space. These three button appear on the applications main menu bar. I have not been able to disable them in this situation. I have tried using GetWindowLong and SetWindowLong, as well as using GetSystemMenu to get a handle to the ChildFrames system menu, and then trying to disable these items using that handle. So far I have had no luck. Any suggestion would be greatly appreciated.
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
|