Hi,
I'm trying to create a dialog (with DialogBoxIndirectParam) which has a close box and a title, but no system menu. I've looked through all the documentation I've got, but I can't find the window style to accomplish this.
Help...
Posted on 2003-12-15 21:20:10 by Hugin
Use a DS_MODAL style. You cannot get rid of the system menu completely if you still want the functions it exposes it will always be available on a right click of the titlebar. You can dsiable all of it's items however. Or you can just use a WS_EX_TOOLWINDOW type dialog.
Posted on 2003-12-15 22:15:51 by donkey
That's right, I'm trying to get rid of the icon in the upper left corner, not the system menu. 'DS_MODAL' - no such equate here, dude. What I've got is DS_MODALFRAME and DS_SYSMODAL, but they don't seem to affect that icon.

...
Posted on 2003-12-16 16:46:22 by Hugin
My bad, DS_MODALFRAME _does_ remove that icon.
Thanks, Donkey ASSembler. :)
Ya know, it's the small things (icon/no icon) that make a perfect app in the end. (I hope)
Posted on 2003-12-16 17:08:22 by Hugin
You're right it is DS_MODALFRAME, I got distracted while typing and wasn't thinking. :) I use an IDE so it is pretty rare I actually have to type those things :grin:
Posted on 2003-12-16 17:59:10 by donkey