Coming
August 23rd, 2004, 12:08 AM
I want to control the mouse moving event throung postmessage . The code that i have benn try are like :
PostMessage(FindWindow("", "Desktop"), WM_MOUSEMOVE, MK_LBUTTON, MAKELONG(x, y)) or
PostMessage(HWND_BROADCAST, WM_MOUSEMOVE, MK_LBUTTON, MAKELONG(x, y)) or
PostMessage(NULL, WM_MOUSEMOVE, MK_LBUTTON, MAKELONG(x, y))
however, the mouse doesnt move.
:blush: is there anyone has any idea?
PostMessage(FindWindow("", "Desktop"), WM_MOUSEMOVE, MK_LBUTTON, MAKELONG(x, y)) or
PostMessage(HWND_BROADCAST, WM_MOUSEMOVE, MK_LBUTTON, MAKELONG(x, y)) or
PostMessage(NULL, WM_MOUSEMOVE, MK_LBUTTON, MAKELONG(x, y))
however, the mouse doesnt move.
:blush: is there anyone has any idea?