CPaneFrameWnd::SetPreDockState

Called by the framework to set the predocking state.

virtual BOOL SetPreDockState(
   AFX_PREDOCK_STATE preDockState,
   CBasePane* pBarToDock = NULL,
   AFX_DOCK_METHOD dockMethod = DM_MOUSE
);

Parameters

  • [in] preDockState
    Possible values:

    • PDS_NOTHING,

    • PDS_DOCK_REGULAR,

    • PDS_DOCK_TO_TAB

  • [in] pBarToDock
    A pointer to the pane to dock.

  • [in] dockMethod
    The docking method. (This parameter is ignored.)

Return Value

TRUE if the mini-frame window is undocked; FALSE if it is docked.

Requirements

Header: afxpaneframewnd.h

See Also

Reference

CPaneFrameWnd Class

Hierarchy Chart