I’m using these window styles when calling CreateWindow
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX
This disables the maximize box, but is there any way I can completely remove it?
I’m using these window styles when calling CreateWindow WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU |
Share
No easy way, but if you are going to draw the title bar yourself – in this case you can do it.
To give you an idea, this article Adding a ‘Minimize to tray’-button to a Form’s caption bar explains how to add a button. Removing standard button is about the same – customization of
non-client area.