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 |
|
Vrinda Savargaonkar
|
Jun 22, 2007 - 8:51 AM
|
Dear Sir,
In my ribbonbar mdi application I do not want the user to resize the window i.e. when user double click of left mouse button on caption Or any part of title bar then the window should not resize or change its position . I tried using this bool CExtNcFrameImpl::::NcFrameImpl_PostWindowProc( LRESULT & lResult, UINT message, WPARAM wParam, LPARAM lParam ) { switch( message ) { case WM_NCLBUTTONDBLCLK: return ; break: } return false; }
but then title bar not painted according to theam.
Please specify some solution .
Thanks
|
|
Technical Support
|
Jun 22, 2007 - 11:17 AM
|
Please override NcFrameImpl_PreWindowProc() instead of NcFrameImpl_PostWindowProc() .
|
|