Share via


ICommandSource::PostCommand

Posts a message without waiting for it to be processed.

void PostCommand( 
   unsigned int command 
);

Parameters

  • command
    The command ID of the message to be posted.

Remarks

This method asynchronously posts the message mapped to the ID specified by command. It calls CWnd::PostMessage to place the message in the window's message queue and then returns without waiting for the corresponding window to process the message.

Requirements

Header: afxwinforms.h

See Also

Reference

ICommandSource Interface

ICommandSource::SendCommand