CMFCRibbonBaseElement::NotifyCommand

Sends a command notification to the parent window of the ribbon element.

BOOL NotifyCommand(
   BOOL bWithDelay = FALSE
);

Parameters

  • [in] bWithDelay
    TRUE to add the command notification to the message queue of the parent window; FALSE to send the message immediately to the parent window.

Return Value

TRUE if the message was sent; otherwise, FALSE.

Requirements

Header: afxbaseribbonelement.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonBaseElement Class