Message Queue Functions
A version of this page is also available for
4/8/2010
The following table shows the message queue functions, with a description of the purpose of each.
Programming element | Description |
---|---|
This function dispatches a message to a window procedure. |
|
This function retrieves a message from the calling thread's message queue and places it in the specified structure. |
|
This function returns a long value that gives the cursor position in screen coordinates. |
|
This function retrieves the time at which a specified thread was last ready to process a message. |
|
This function determines the source of a keyboard message. |
|
This function determines whether the current window procedure is processing a message that was sent from another thread (in the same process or a different process) by a call to the SendMessage function. |
|
This function checks a thread message queue for a message and places the message (if any) in the specified structure. |
|
This function places a message in the message queue associated with the thread that created the specified window and then returns without waiting for the thread to process the message. |
|
This function indicates to Windows that a thread has made a request to terminate (quit). |
|
This function places a message in the message queue of the specified thread and then returns without waiting for the thread to process the message. |
|
This function defines a new window message that is guaranteed to be unique throughout the system. |
|
This function sends the specified message to a window or windows. |
|
This function sends a specified message to a window by calling the window procedure for the specified window, with the message as one of the parameters for the window procedure. |
|
This function sends the specified message to the given window. |
|
This function translates virtual-key messages into character messages. |