.. highlightlang:: us .. index:: AppSendCommandMessage .. _appsendcommandmessage: AppSendCommandMessage ===================== .. us.tag AppSendCommandMessage ENGLISH App :ref:`AppSendCommandMessage` sends a menu command to a window. .. function:: bool = AppSendCommandMessage(nIDMessage) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: nIDMessage *nIDMessage* is the message's ID number. .. us.comment **Comment** The window must be active. .. us.example **Example** The following call orders the windows beside each other :: AppSendCommandMessage(ID_WINDOW_TILE_VERT) .. seealso:: :ref:`overview-application-object`, :ref:`AppCommandTracing` :sub:`id-933541`