-
Sending Messages
Its fairly simple question but doesnt seem to be working for me...
I found what the lParam and the wParam for the Message I want to send but not sure about some stuff...
the message i want to send is BN_CLICKED...
the WPARAM is the identifier of the button...
and LPARAM is a handle to the button...
in VC++ would the identifier be something like IDC_BUTTON...
and how do i get a handle to the button?
-
BN_CLICKED is a notification message. BM_CLICK is the actual message. To send it like this:
Code:
PostMessage hwnd_of_button, BM_CLICK, 0, 0