property SendMessage.
Sends synchronously a message to a window.
|
hWnd
[in] . Handle of the target window
Msg
[in] . Windows message. For example: 273 for
WM_COMMAND
wParam
[in] . 0 or any identifier if Msg = 273
lParam
[in] . 0
pVal
[out,
retval] The returned value by the target window.
S_OK
The
operation was successfull.
E_POINTER
A NULL
pointer was supplied as an argument.
E_UNEXPECTED
An
unexpected error occoured.