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 |
|
tarou iiyama
|
Sep 8, 2006 - 3:36 AM
|
Hello
A CExtControl <------- B CExtControl Docking
Then. When I watch pCDockBar-m_arrBars of B CExtControl. An address of B CExtControl. There is an address of DynControlBar.
Can you find an address of A CExtControl from DynControlBar?
|
|
Technical Support
|
Sep 8, 2006 - 12:00 PM
|
Yes, a CExtDynControlBar window can contain either redockable CExtControlBar windows and other CExtDynControlBar dynamic bar containers. So your code that searches for a particular bar should watch the multilevel tree of dynamic bars. In other words, your search function should be recursive.
|
|
tarou iiyama
|
Sep 8, 2006 - 2:01 PM
|
Hello
Will not there be a sample source?
|
|
Technical Support
|
Sep 9, 2006 - 11:43 AM
|
You can run the ProfStudio sample and invoke the context menu over toolbar areas there. The displayed menu is not the standard Prof-UIS, built-in menu -- it is re-created from scratch in this sample. Its sub menus display categorized lists of control bars. The CMainFrame::OnConstructPopupMenuCB() handler method recreates menus over the frame window’s area. This method uses a stat_insert_panel_to_menu() static recursive function defined in the MainFrm.cpp file for initializing menu trees according to control bar’s layout.
|
|
tarou iiyama
|
Sep 11, 2006 - 2:13 AM
|
Hello
I try to analyze it somehow.
Thank You Very Much.
|
|