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 |
|
Kirby Zhang
|
Jul 10, 2005 - 7:02 PM
|
This could be a silly question to MFC veterans, but can I put a custom designed dialog in a floatable, dockable window?
|
|
Technical Support
|
Jul 11, 2005 - 10:05 AM
|
You can use the CExtPanelControlBar class that has similar features provided by MFC’s CDialogBar . CExtPanelControlBar implements a toolbar-like window, which owns only one child window and has a size that is determined by the size of this child window. In most cases the panel control bar is used as a dialog container. In the FixedSizePanels sample application you can find that the m_wndPanelDialog property of CMainFrame , which is created in CMainFrame::OnCreate() is an instance of the CExtPanelControlBar class. The m_dlgForPanelDialog property of the main frame is a child dialog whose parent window is m_wndPanelDialog .
|
|