![]() Posts a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message. To obtain additional information about how the message was sent, use the InSendMessageEx function.ĭetermines whether the current window procedure is processing a message that was sent from another thread (in the same process or a different process).ĭispatches incoming sent messages, checks the thread message queue for a posted message, and retrieves the message (if any exist). Indicates the type of messages found in the calling thread's message queue.ĭetermines 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. The time is a long integer that specifies the elapsed time, in milliseconds, from the time the system was started to the time the message was created (that is, placed in the thread's message queue). Retrieves the message time for the last message retrieved by the GetMessage function. To determine the current position of the cursor, use the GetCursorPos function. Retrieves the cursor position for the last message retrieved by the GetMessage function. Extra message information is an application- or driver-defined value associated with the current thread's message queue. Retrieves the extra message information for the current thread. Unlike GetMessage, the PeekMessage function does not wait for a message to be posted before returning. ![]() The function dispatches incoming sent messages until a posted message is available for retrieval. Retrieves a message from the calling thread's message queue. It is typically used to dispatch a message retrieved by the GetMessage function.ĭetermines whether there are mouse-button or keyboard messages in the calling thread's message queue. This function is similar to BroadcastSystemMessage except that this function can return more information from the recipients.ĭispatches a message to a window procedure. The recipients can be applications, installable drivers, network drivers, system-level device drivers, or any combination of these system components. Sends a message to the specified recipients. To receive additional information if the request is defined, use the BroadcastSystemMessageEx function. ![]() The following code examples demonstrate how to perform the following tasks associated with Windows messages and message queues.įor lists of the system-provided messages, see System-Defined Messages. This section discusses Windows messages and message queues. This section describes messages and message queues and how to use them in your applications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |