June 2001
Intermediate to advanced
706 pages
24h 10m
English
SendMessage
Sends a message to the specified target window:
Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" _ (ByVal hwnd As Long, ByVal wMsg As Long, _ ByVal wParam As Long, lParam As Any) As Long
hwnd
The handle of the target window, or HWND_BROADCAST
if the message is to be sent to all top-level windows in the system
wMsg
The message to send to the target window
wParam
The first parameter of the message
lParam
The second parameter of the message
The return value depends on the message sent.
Read now
Unlock full access