共用方式為


CDockingManager::FindPaneByID

Finds a pane by the specified control ID.

virtual CBasePane* FindPaneByID(
    UINT uBarID,
    BOOL bSearchMiniFrames = FALSE
);

Parameters

  • [in] uBarID
    Specifies the control ID of the pane to find.

  • [in] bSearchMiniFrames
    TRUE to include all floating panes in the search. FALSE to include only the docked panes.

Return Value

The CBasePane object that has the specified control ID, or NULL if the specified pane cannot be found.

Requirements

Header: afxDockingManager.h

See Also

Reference

CDockingManager Class

Hierarchy Chart