CFrameWnd::FloatControlBar

CFrameWnd* FloatControlBar( CControlBar * pBar, CPoint point, DWORD dwStyle = CBRS_ALIGN_TOP );

Return Value

Pointer to the current frame window.

Parameters

pBar

Points to the control bar to be floated.

point

The location, in screen coordinates, where the top left corner of the control bar will be placed.

dwStyle

Specifies whether to align the control bar horizontally or vertically within its new frame window. It can be any one of the following:

Remarks

Call this function to cause a control bar to not be docked to the frame window. Typically, this is done at application startup when the program is restoring settings from the previous execution.

This function is called by the framework when the user causes a drop operation by releasing the left mouse button while dragging the control bar over a location that is not available for docking.

CFrameWnd OverviewClass MembersHierarchy Chart

See Also   CFrameWnd::DockControlBar