Share via


CBasePane::FloatPane

Floats the pane.

virtual BOOL FloatPane(
   CRect rectFloat,
   AFX_DOCK_METHOD dockMethod=DM_UNKNOWN,
   bool bShow=true 
);

Parameters

  • [in] rectFloat
    Specifies the screen coordinates where the floating pane appears.

  • [in] dockMethod
    Specifies the dock method to use to float the pane.

  • [in] bShow
    Specifies whether the floating pane is visible (TRUE) or hidden (FALSE).

Return Value

TRUE if the pane was floated successfully; otherwise FALSE.

Remarks

Call this method to float a pane at the screen position specified by rectFloat.

Requirements

Header: afxbasepane.h

See Also

Reference

CBasePane Class

Hierarchy Chart