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 |
|
Chun Pong Lau
|
Sep 8, 2008 - 12:26 PM
|
Dear support team,
e.g. 3 control bars are grouped together. I can know any one of them by CExtControlBar::IsFloating() method. But do I know if they are grouped together like below?
| . . . . . . . | | . . . . . . . | -------------- | 1 | 2 | 3 | --------------
Thanks a lot.
Regards, Chun Pong
|
|
Technical Support
|
Sep 9, 2008 - 12:08 PM
|
The CExtControlBar::IsFloating() method returns true if the control bar is in the floating state and it’s a single control bar inside its mini frame palette window. This method should be used with control bars like CExtToolControlBar or CExtMenuControlBar which does not support tabbed containers.
The CExtControlBar::_GetNearestTabbedContainer() method returns NOT-NULL if the control bar is inside a tabbed group of control bars. A tabbed group can contain only one visible control bar. Such tabbed group contains a hidden tab control and looks like a standalone control bar, but it’s still a tabbed group of bars.
The ( pExtControlBar->GetParentFrame()->IsKindOf( RUNTIME_CLASS( CMiniFrameWnd ) ) ? true : false ) returns true if the control bar is inside the floating mini frame palette window. This control bar can be either stand alone floating bar or part of complex floating layout of resizable control bars with or without tabbed groups.
|
|