ICommandSource::SendCommand

发送消息并等待其在返回之前处理。

void SendCommand( 
   unsigned int command 
);

参数

  • command
    要发送的消息的命令ID。

备注

此方法同步发送映射的信息。command指定的ID。将在窗口的消息队列调用 CWnd::SendMessage 将消息并等待,直到该窗口过程在返回之前处理消息。

要求

Header: afxwinforms.h

请参见

参考

ICommandSource接口

ICommandSource::PostCommand