|
-
December 15th, 1999, 10:28 PM
#1
CToolbar close button
I need to display a CToolbar without a Close box. Windows sytles allow you to remove the minimize, maximize box, but the close box is controlled by the windows class attributes. SetWindowLong does not seem to help either. I tried disabling the system Menu in precreate windows, but the create struct indicated the system menu is already disabled in a CToolbar.
Help appreciated.
-
December 15th, 1999, 10:40 PM
#2
Re: CToolbar close button
You can also use GetSystemMenu to get form's system menu handle and DeleteMenu to disable the button
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
|