I am trying to send WM_LBUTTONDOWN and WM_LBUTTONUP messages to a window (simulating mouse clicks without moving the cursor).
My program works very well on many windows, but there are several that do not work :( As a registry editor, Yahoo Messenger, some Firefox sites, etc.
How can I work with the ones above?
NOTE # 1: I am using Win7
NOTE # 2: My code simply calls api and functions and approximates them in a specific window handle. It works fine, but not in all windows :(
UAC, UIPI , . , , , . , , Regedit.exe, , UAC , . , .
, SendMessage() . . PostMessage(). WM_MOUSEMOVE.
- SendInput(). , . , , , , . , SetForegroundWindow() . SendInput(), , .
SwitchToThisWindow SetForegroundWindow, , , SendInput, mouse_event, , , .
SwitchToThisWindow
SetForegroundWindow
SendInput
mouse_event