Condividi tramite


CDockingManager::ProcessPaneContextMenuCommand

Called by the framework to select or to clear a check box for the specified command and recalculate the layout of a shown pane.

BOOL ProcessPaneContextMenuCommand(
   UINT nID,
   int nCode,
   void* pExtra,
   AFX_CMDHANDLERINFO* pHandlerInfo
);

Parameters

  • [in] nID
    The id of a control bar in the menu.

  • [in] nCode
    The command notification code.

  • [in] pExtra
    A pointer to void that is casted to a pointer to CCmdUI if nCode is CN_UPDATE_COMMAND_UI.

  • [in] pHandlerInfo
    A pointer to an info structure. This parameter is not used.

Return Value

TRUE if pEXtra is not NULL and nCode equals CN_UPDATE_COMMAND_UI, or if there is a control bar with the specified nID.

Requirements

Header: afxdockingmanager.h

See Also

Reference

CDockingManager Class

Hierarchy Chart