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 |
|
Offer Har
|
Jan 7, 2011 - 8:27 AM
|
Dear Support, I need a mode in our application in which the toolbars are non-movable - when this mode is on, the toolbars are dispalyed and cannon be dragged, so the user cannot move them and close them. Same goes to docked panels. How do we do it? Thanks, Ron.
|
|
Technical Support
|
Jan 11, 2011 - 11:16 AM
|
The following line of code locks all control bars: CExtControlBar::g_bLockAllBars = false; You can override the CExtControlBar::_DraggingIsEnabled() code virtual method to control locked state of particular control bars. The locked state is supported for all types of control bars.
|
|