AppSendCommandMessage

AppSendCommandMessage sends a menu command to a window.

bool = AppSendCommandMessage(nIDMessage)

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Parameters

nIDMessage

nIDMessage is the message’s ID number.

Comment

The window must be active.

Example

The following call orders the windows beside each other

AppSendCommandMessage(ID_WINDOW_TILE_VERT)

id-933541