How do u declare the SendMessageAsString function(i don't have the windows api viewer) If anyone knows how to declare this function, i would be obliged if they would show me the code for declaring the function.
Printable View
How do u declare the SendMessageAsString function(i don't have the windows api viewer) If anyone knows how to declare this function, i would be obliged if they would show me the code for declaring the function.
Sendmessage is just a type-safe declaration for sendmessage. You will notice that all 3 of these declarations go to the same function.
Declare Function SendMessage& Lib "user32" Alias "SendMessageA" (ByVal hwnd As _
Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any)
Declare Function SendMessageBynum& Lib "user32" Alias "SendMessageA" (ByVal _
hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long)
Declare Function SendMessageByString& Lib "user32" Alias "SendMessageA" (ByVal _
hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String)