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 |
|
Ikseong bae
|
Feb 23, 2012 - 10:12 PM
|
Dear Technical Support.
How can I disable user resizing and redocking of an CExtControlBar?
I tried to your recommand that followed solutions
To make a resizable control bar of a fixed size, create a CExtControlBar-derived class and override these virtual methods:
virtual void _RowResizingStart(); virtual void _RowRecalcingStart();
Besides, if you don’t need the caption area in this control bar, create it with: VERIFY( m_wndResizableBarH.Create( NULL, this, ID_VIEW_RESIZABLE_BAR_H, WS_CHILD|WS_VISIBLE|CBRS_TOP |CBRS_FLYBY|CBRS_SIZE_DYNAMIC ) );
But your recommand was not to disable resizing of an CExtControlBar. I would like to fix the
Please to advice me for my sample project .
Best Regards,
Bae
PS : file link is followed http://onlydontknow.tistory.com/attachment/cfile23.uf@1562FB454F471BAD0698F2.zip
and you can see the result image (1.jpg and 2.jpg) in zip file
|
|
Technical Support
|
Feb 29, 2012 - 1:00 PM
|
You are trying so make a resizable control bar non-resizable. In simple words, you are trying to remove the main feature of a resizable control bar. You should use a dialog with anchored controls if you don’t need control bars which are freely resized and redocked.
|
|