-
June 21st, 2009, 07:50 PM
#1
C# detect application(s) below cursor
So, I'm wondering if anyone can help me out here. Using Visual C# and .NET 3.5 SP1, I'm trying to find a way to detect the window below the mouse cursor.
If you had Notepad, IE, and Word all open, and all covering each other (or just cascaded, using the standard Windows function), I'd like to be able to detect the application directly below the mouse cursor, as well as the one below that.
Is this possible with all-managed code, or should I just move to Visual C++/MFC?
Last edited by AxessTerminated; June 23rd, 2009 at 09:56 AM.
Geek isn't just a four-letter word; it's a six-figure income.
-
August 20th, 2009, 06:17 AM
#2
You will need to use Windows API's directly so you will have to use P/Invoke
Similar Threads
-
By nihil in forum Microsoft Security Discussions
Replies: 2
Last Post: April 30th, 2009, 03:12 AM
-
By gore in forum Operating Systems
Replies: 3
Last Post: March 7th, 2004, 08:02 AM
-
By qod in forum The Security Tutorials Forum
Replies: 6
Last Post: February 27th, 2004, 03:03 AM
-
By qod in forum The Security Tutorials Forum
Replies: 18
Last Post: January 5th, 2004, 02:30 PM
-
By Noble Hamlet in forum AntiOnline's General Chit Chat
Replies: 1100
Last Post: March 17th, 2002, 09:38 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|