no maximize
Is there a WS_ command that lets you create a window with a minimize, maximize, and close button except that the maximize button is grayed out? I''ve seen programs that had windows like this but there''s not a command that does it in the help index of VC++ 6.0. Thanks for any help.
Yes, when you call "CreateWindow," give the third parameter these flags:
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX
Here is an example:
Well, I hope that helps.
Later
James
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX
Here is an example:
|
Well, I hope that helps.
Later
James
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement