Home > Software engineering >  Sendmessage to simulate mouse toolbar buttons
Sendmessage to simulate mouse toolbar buttons

Time:09-28

Assuming the toolbar handle for the HWND, use sendmessage point the second button in the toolbar code how to write ah, mainly at the back of the coordinates x, y don't know how to write, who teach me know, thanks a lot!
Sendmessage (HWND bm_click, x, y)

CodePudding user response:

http://download.csdn.net/detail/veron_04/3291019

CodePudding user response:

Hwndparent=getparent (HWND)
Sendmessage (hwndparent WM_COMMAND, button ID (SPY find yourself), 0)
  • Related