News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Title Bar - Minimize Maximize Close

Started by srfpala, December 10, 2013, 10:24:37 AM

Previous topic - Next topic

srfpala

I cannot figure out which constant in which proc is used to show the minimize, maximize, and the red X close button
in the Window's Title bar.
One app I have shows only the X and another all three, and I cannot find the appropriate setting(s).
I continue to look, but any help is appreciated.
   Bob


dedndave

dialog boxes use Dialog Box Styles

http://msdn.microsoft.com/en-us/library/windows/desktop/ff729172%28v=vs.85%29.aspx

a different set of constants
but, i think any window that can be made as a dialog box can be made with CreateWindowEx

Tedd

The default window style, WS_OVERLAPPEDWINDOW, is effectively the combination of the following styles:

WS_OVERLAPPED or WS_CAPTION or WS_SYSMENU or WS_THICKFRAME or WS_MINIMIZEBOX or WS_MAXIMIZEBOX

So you can choose to omit either of the last two to not have either of those buttons.
Potato2