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
those are Window Styles
http://msdn.microsoft.com/en-us/library/windows/desktop/ms632600%28v=vs.85%29.aspx (http://msdn.microsoft.com/en-us/library/windows/desktop/ms632600%28v=vs.85%29.aspx)
and, a few of the Extended Window Styles
http://msdn.microsoft.com/en-us/library/windows/desktop/ff700543%28v=vs.85%29.aspx (http://msdn.microsoft.com/en-us/library/windows/desktop/ff700543%28v=vs.85%29.aspx)
even Window Class Styles
http://msdn.microsoft.com/en-us/library/windows/desktop/ff729176%28v=vs.85%29.aspx (http://msdn.microsoft.com/en-us/library/windows/desktop/ff729176%28v=vs.85%29.aspx)
not all thinkable combinations are available :P
dialog boxes use Dialog Box Styles
http://msdn.microsoft.com/en-us/library/windows/desktop/ff729172%28v=vs.85%29.aspx (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
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.