 |
PostMessage Add comment W32 Constants Translate this page |
 |
 |
Places (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.
|
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL PostMessage(
HWND hWnd, // handle to destination window
UINT Msg, // message
WPARAM wParam, // first message parameter
LPARAM lParam // second message parameter
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE SHORT PostMessage IN user32;
INTEGER hWnd,;
INTEGER Msg,;
STRING @ wParam,;
INTEGER lParam
|
 |
 |
 |
| Parameters: |
 |
hWnd
[in] Handle to the window whose window procedure is to receive the message.
Msg
[in] Specifies the message to be posted.
wParam
[in] Specifies additional message-specific information.
lParam
[in] Specifies additional message-specific information. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero. |
 |
 |
| Word Index links for the PostMessage : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-08-10 12:00:00 | | Modified: | 2001-11-26 16:03:09 | Visited in last 7 days: 42 |