send_key_event (Deprecated)
The send_key_event function transmits a WM_COMMAND
application event.
IMPORTANT! This is a deprecated function and you should be using trigger_key_event_EX1
instead.
Syntax
void send_key_event(
ID32 event_id,
UINT32 value
);
Members
Parameters | Description |
---|---|
event_id |
Specifies a WM_COMMAND event ID. |
value |
Specifies a value to be transmitted along with the event ID. Can be set to zero. |
Return Values
This function does not return a value.
Remarks
This function transmits a message with the following syntax:
PostMessage(hwndMain, WM_COMMAND, event_id, (LPARAM) value);
See Also