I want to disable two things on then main window: the maximize button at the top right hand corner, and I don't want the user to be able to resize the border. How would I do this? Thanks!
Garfield
Printable View
I want to disable two things on then main window: the maximize button at the top right hand corner, and I don't want the user to be able to resize the border. How would I do this? Thanks!
Garfield
creat your window using these as the only style(note this does not mean ex styles)
WS_SYSMENU
this will make a non resizable window with only a close box.
But, what if I don't want to disable the minimize button? Thanks!Quote:
Originally posted by no-one
creat your window using these as the only style(note this does not mean ex styles)
WS_SYSMENU
this will make a non resizable window with only a close box.
Garfield
then add an | WS_MINIMIZEBOX to the style.
::edit unfortunatly a disabled maximise button appears, i look into a way of geting rid of it.
Thanks! :DQuote:
Originally posted by no-one
then add an | WS_MINIMIZEBOX to the style.
::edit unfortunatly a disabled maximise button appears, i look into a way of geting rid of it.
Garfield
>> ::edit unfortunatly a disabled maximise button appears, i look into a way of geting rid of it. <<
As long as it appears grayed-out, that is good. Thanks again!
ok then, your welcome.