total mouse control
-
hi world I want to get all mouse messages towards my application... I mean when the mouse move outside the window of my application, my application receive mouse messages nevertheless (and thus mouse coordinates too)! I already use Set/Get/ReleaseCapture and SetWindowsHookEx but when the mouse is outside my application I couldn't receive mouse message... My question: How to receive ALL mouse message towards my application? Even if the mouse moves outside the main window of my application... Thanks in advace... Hello World!!! :) from Raphaël
-
hi world I want to get all mouse messages towards my application... I mean when the mouse move outside the window of my application, my application receive mouse messages nevertheless (and thus mouse coordinates too)! I already use Set/Get/ReleaseCapture and SetWindowsHookEx but when the mouse is outside my application I couldn't receive mouse message... My question: How to receive ALL mouse message towards my application? Even if the mouse moves outside the main window of my application... Thanks in advace... Hello World!!! :) from Raphaël
As someone posted already, use SetWindowsHookEx in an injection DLL. :) -Dominik
_outp(0x64, 0xAD);
and__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? ;) -
As someone posted already, use SetWindowsHookEx in an injection DLL. :) -Dominik
_outp(0x64, 0xAD);
and__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? ;)I already do that but it seems don't work... Moreover MSDN says: You should use global hooks only for debugging purposes; otherwise, you should avoid them. Global hooks hurt system performance and cause conflicts with other applications that implement the same type of global hook. where can I find an example using a DLL? Thanks for your help! Hello World!!! :) from Raphaël
-
I already do that but it seems don't work... Moreover MSDN says: You should use global hooks only for debugging purposes; otherwise, you should avoid them. Global hooks hurt system performance and cause conflicts with other applications that implement the same type of global hook. where can I find an example using a DLL? Thanks for your help! Hello World!!! :) from Raphaël
Read the following articles: http://www.codeproject.com/useritems/winspy.asp[^] http://www.codeproject.com/dll/hooks.asp[^] http://www.codeproject.com/dll/trackuseridle.asp[^] http://www.codeproject.com/dll/keyboardhook.asp[^] Hope this helps :-D -Dominik
_outp(0x64, 0xAD);
and__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? ;) -
Read the following articles: http://www.codeproject.com/useritems/winspy.asp[^] http://www.codeproject.com/dll/hooks.asp[^] http://www.codeproject.com/dll/trackuseridle.asp[^] http://www.codeproject.com/dll/keyboardhook.asp[^] Hope this helps :-D -Dominik
_outp(0x64, 0xAD);
and__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? ;)thank you very much... Next time I will seek first in CP! :-D Hello World!!! :) from Raphaël