Emergency help everybody, for the sake of simple monitoring needs, I wrote a program through sndkey32 send information to the QQ window, activate the window code is as follows:
While not setforegroundwindow (findwindow (nil, pchar (self) EdtNickName) text))) do
The begin
Sleep (100);
end;
Hwdmessage:=findwindow (nil, pchar (self) EdtNickName) text));
The BringWindowToTop (hwdmessage);
But now found after the lock screen, the program can automatically send QQ, excuse me what method can solve?