Jump to content
Posted 27 April 2013 - 22:29
Posted 28 April 2013 - 00:30
Posted 28 April 2013 - 01:14
Posted 28 April 2013 - 01:16
what you're looking for is "windows hooks".
what these allow you to do is intercept messages of system wide processes,or they can be thread specific.
for example,you install a system wide mouse hook , and you get system wide mouse messages. this is actually how a lot of keyloggers work. they install a keyboard system hook,and receive every character typed. you can do the same with the mouse. since only foreground windows have an active message loop, you will receive all mouse message no matter which app is open,and again you can make it thread specific if you want.
Posted 28 April 2013 - 02:39
THAT. IS. COOL. I had no idea that was even possible! Thanks for the explanation. Hopefully it helps the OP too.
Posted 28 April 2013 - 02:57
.NET + P/Invoke from Win32 what isn't exposed in .NET is pretty much the way to go today; MFC and ATL are quite dead as far as I'm aware.
I'm not sure what Microsoft's current recommendation for WIN32 in C++ is; maybe Asik or one of the other pros around here can tell you. My understanding is that Microsoft is pushing C# and .NET for traditional desktop applications and is not really focused on providing and easy C++ wrapper anymore.
Posted 28 April 2013 - 10:46
Posted 28 April 2013 - 11:24
Posted 22 May 2013 - 22:42