Tech Support > Microsoft Windows > Development Resources > Problem with SendInput
Problem with SendInput
Posted by valderama on March 9th, 2006


i have a problem with SendInput:

I am calling SendInput from a QT application and the whole screen is
"flashing" because of SendInput. The screen turns black after calling
SendInput and is coming back after moving the mouse or pressing a
keyboard key.

any ideas what's the reason for that?

thx in advance - walter

Posted by valderama on March 9th, 2006


i can not specify what exactly the problem was, but it can be solved by
turning off the screen saver and the energy management.

i was sending MOUSEINPUT packages with

mouse_input.dwFlags= MOUSEEVENTF_MOVE;
mouse_input.dx= 0;
mouse_input.dy= 0;

if somebody knows the reason, why the screen saver gets actived please
let me know..

greets walter


Similar Posts