Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS General Discussion » how could i set the location of a CExtControlBar? Collapse All
Subject Author Date
violet zhu Apr 6, 2005 - 4:13 AM

how could i set the location of a CExtControlBar?

Technical Support Apr 7, 2005 - 2:35 AM

To dock a control bar, use the CExtControlBar::DockControlBar method. Its first parameter nDockBarID is an identifier that specifies the frame side. You can use the AFX_IDW_DOCKBAR_LEFT, AFX_IDW_DOCKBAR_RIGHT, AFX_IDW_DOCKBAR_TOP, or AFX_IDW_DOCKBAR_BOTTOM values to dock the control bar at the left, right, top, or bottom side correspondingly. For example,

m_wndResizableBar.DockControlBar(
   AFX_IDW_DOCKBAR_LEFT,
   1,
   this,
   false
);

violet zhu Apr 7, 2005 - 3:16 AM

i am sorry


my mean is to set the Size and the Location of a CExtControlBar