Just wondering. Is there an easy way to create a normal dialog with caption and just
a close button, without the sysmenu/icon on the left side? Like an Open File dialog?
Can only get close button in caption with %WS_SYSMENU here. Then must do a stunt
and remove the menu by brutal force. Have tried to find some combination in styles
that simply creates a normal dialog with close button (x) and no menu, without luck.
Must be missing something obvious, or maybe one has to use GetSystemMenu to get its
handle and then remove it after all?
But then, another problem: If to destroy the meny, the caption bar becomes dead and
the close button grayed. If to remove items, I still have to leave one, the close
item (Alt+F4), otherwise same result. I'm actually completely lost on this one..
------------------
a close button, without the sysmenu/icon on the left side? Like an Open File dialog?
Can only get close button in caption with %WS_SYSMENU here. Then must do a stunt
and remove the menu by brutal force. Have tried to find some combination in styles
that simply creates a normal dialog with close button (x) and no menu, without luck.
Must be missing something obvious, or maybe one has to use GetSystemMenu to get its
handle and then remove it after all?
But then, another problem: If to destroy the meny, the caption bar becomes dead and
the close button grayed. If to remove items, I still have to leave one, the close
item (Alt+F4), otherwise same result. I'm actually completely lost on this one..
------------------
Comment