|
The Maximize Box
How can I create a window with everything but the "restore/maximize" button?
When I impliment this and called the ShowWindow(hwnd, SW_SHOWMAXIMIZED), there''s no MinimizeBox. And what about the CloseBox or something? I just don''t want a "restore/maximize" buttong so that my window is maximized all the time, but I do want to user to be able to minimize of close the window.
You also need the WS_SYSMENU option.
=======================================
Better to reign in hell than serve in heaven.
John Milton, Paradise Lost
=======================================
Better to reign in hell than serve in heaven.
John Milton, Paradise Lost
I use:
WS_OVERLAPPED | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
-Ironblayde
Aeon Software
Next thing you know, they''ll take my thoughts away.
WS_OVERLAPPED | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
-Ironblayde
Aeon Software
Next thing you know, they''ll take my thoughts away.
"Your superior intellect is no match for our puny weapons!"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement