API call - How to?
Posted: Tue Apr 30, 2013 4:06 pm
Hi everyone,
I have a problem which is related to pass a record to api.
Example:
How to call SendMessage passing in lParam a RECT record.
Record Rect
Left As Long
Top As Long
Right As Long
Bottom As Long
End Record
...
With SendMessageApi
hwnd = {Some Handler}
wMsg = SEM_SETBOUNDS
wParam = 0
lParam = {Rect Record} <- Here is where i need the record to pass
Execute
End With
Thanks in advance.
I have a problem which is related to pass a record to api.
Example:
How to call SendMessage passing in lParam a RECT record.
Record Rect
Left As Long
Top As Long
Right As Long
Bottom As Long
End Record
...
With SendMessageApi
hwnd = {Some Handler}
wMsg = SEM_SETBOUNDS
wParam = 0
lParam = {Rect Record} <- Here is where i need the record to pass
Execute
End With
Thanks in advance.