HELP: Why the SendInput(1,&Input,sizeof(INPUT)) can't work over some application dialog?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I have used the following codes (VC++ 6.0 MFC) in order to move the pointer on the monitor screen<br/><br/>     Input.mi.dwFlags = MOUSEEVENTF_MOVE|MOUSEEVENTF_ABSOLUTE;<br/>    <br/>     Input.mi.dx   = (long)fx;<br/>     Input.mi.dy   = (long)fy;<br/>     <br/>     SendInput(1,&Input,sizeof(INPUT));<br/><br/>It works very well for all dialog applications ... well almost every thing (99%), except the it is prevented to enter the the Kaspersky Anti-Virus dialog (might be some thing else which I couldnt try)<br/><br/>*) But with the Window pointer, it can enters as all others<br/><br/>Anyone can help me on it? Might be I have to set some thing inside my VC++ or the Window Control panel?<br/><br/>Many thanks to any help

View the full article
 
Back
Top