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 |
|
sehyun park
|
Sep 3, 2007 - 8:49 AM
|
HI
Tabbed control bar position of the child frame(samples "MDI_DynamicInnerOuterBars") is always before the View. How can i change the tab position. I would like to put the tabbed control bar after View bar like as outer dynamic bar.
Thanks
|
|
Technical Support
|
Sep 3, 2007 - 11:48 AM
|
We guess you are talking about dynamic control bars (CExtDynamicControlBar ) in an SDI frame window or an MDI child frame window with a tab page container inside. They are really become added at the beginning of the tab page container. To change this behavior you should use a CExtDynamicControlBar -derived class which implements the CExtDynamicControlBar::OnMoveChildToDocument() virtual method. Just copy the body of the original method and replace the following lines: int nPageIdx = 0;
//int nPageIdx = pWndTabPageContainer->PageGetCount(); with //int nPageIdx = 0;
int nPageIdx = pWndTabPageContainer->PageGetCount();
|
|
sehyun park
|
Sep 3, 2007 - 7:03 PM
|
|
|