|
|
|
|
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.
Subject |
Author |
Date |
|
Daljit Singh
|
Jul 18, 2006 - 2:07 AM
|
|
|
Technical Support
|
Jul 18, 2006 - 9:09 AM
|
Did you try the ShowSizeGrip() method? ShowSizeGrip( FALSE );
|
|
Daljit Singh
|
Jul 18, 2006 - 11:29 AM
|
I have tried ShowSizeGrip( FALSE ), ShowSizeGrip( NULL); With this property page doesn’t show the grip but you can stil resize the page.
|
|
Daljit Singh
|
Jul 18, 2006 - 6:24 PM
|
Hi have tried
1. ShowSizeGrip( FALSE ), ShowSizeGrip( NULL); 2. Overriding WindowProc()
LRESULT CMyWizard::WindowProc(UINT message, WPARAM wParam, LPARAM lParam) { if( message == WM_SIZE ) CPropertySheet::WindowProc( message, wParam, lParam ); else return CExtResizablePropertySheet::WindowProc(message, wParam, lParam); }
LRESULT CMyWizardPage::WindowProc(UINT message, WPARAM wParam, LPARAM lParam) { if( message == WM_SIZE ) CPropertyPage::WindowProc( message, wParam, lParam ); else return CExtResizablePropertyPage::WindowProc(message, wParam, lParam); }
I even tried overiding OnSize() but still couldn’t stop the wizard sized to resize. Is theren any other way to stop changing the size of wizard pages.
Thanks
Daljit Singh
|
|
Technical Support
|
Jul 19, 2006 - 9: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 );
|
|