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
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
1978 Silver Anniversary Corvette
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.
Last edited by no-one; 01-26-2002 at 01:42 PM.
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.
But, what if I don't want to disable the minimize button? Thanks!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
1978 Silver Anniversary Corvette
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.
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.
Thanks!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
1978 Silver Anniversary Corvette
>> ::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!
1978 Silver Anniversary Corvette
ok then, your welcome.
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.