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 |
|
JAVIER SUAREZ
|
Aug 22, 2005 - 8:45 AM
|
We’ve been trying to add docking functionality to the vertical bar and customdrawn bar in the PageContainer sample but have had no luck in being able to re-dock/move the windows during runtime. Is this possible? Thanks.
|
|
Technical Support
|
Aug 23, 2005 - 12:01 PM
|
To make the horizontal and vertical page containers re-dockable, just add the CBRS_GRIPPER style to the code for creating both m_wndResizableBarH and m_wndResizableBarV bars in the CMainFrame::OnCreate() method of the PageContainer sample application. Please do not forget to clean the control bars’ state in the system registry by deleting the HKEY_CURRENT_USER\Software\Foss\PageContainer registry key. You cannot make the custom drawn page container re-dockable because it is contained by the CDemoMiniFrameWnd floating mini frame window,which is not a redockable control bar. So, you need to create the CCustomDrawnPageContainer window inside CExtControlBar instead of the CDemoMiniFrameWnd window.
|
|