共用方式為


CDockSite::FindPaneByID

Returns the pane with the given ID.

CPane* FindPaneByID(
    UINT nID 
);

Parameters

  • [in] nID
    The command ID of the pane to be found.

Return Value

A pointer to the pane with the specified command ID, or NULL if the pane is not found.

Requirements

Header: afxDockSite.h

See Also

Reference

CDockSite Class

Hierarchy Chart