Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » how to remove resizable gripper Collapse All
Subject Author Date
howard liu Jul 29, 2008 - 5:21 AM

Hi,


      I want to remove the resizable property for CExtResizablepropertySheet/CExtResizablepropertypage .How Do i achieve it.


     I tried using showSizeGrip(FALSE) method but it is not working .


Also is there any method to set min and max   window size of  CExtResizablepropertySheet


 Thanks

Technical Support Jul 31, 2008 - 4:02 AM

The ShowSizeGrip() method is used to hide/show the resizing gripper. It does not modify the WS_THICKFRAME window style, which indicates whether the window is resizable. For dialogs, you need to set the Border property in the dialog editor to Dialog Frame. For CExtResizablePropertySheet, the WS_THICKFRAME window style is turned on by default. To disable resizing, simply remove this style:

ModifyStyle( WS_THICKFRAME, 0 );
ShowSizeGrip( FALSE );
As for setting min and max window size there are two methods in CExtWA which allows you to limit the window size: SetMinTrackSize() and SetMaxTrackSize().