Posts the specified message to the specified window's message queue and returns immediately.
object.PostMessage( hWnd, Msg [,wParam] [,lParam] ) |
- hWnd
- Required. An OLE_HANDLE that specifies the window handle to the window whose window procedure is to receive the message.
- Msg
- Required. A Long that specifies the message to be posted.
- wParam
- Optional. A Long that specifies additional message-specific information.
- lParam
- Optional. A Long that specifies additional message-specific information.
Long
A nonzero return value indicates success. Zero indicates failure.