Results 1 to 2 of 2

Thread: C# detect application(s) below cursor

  1. #1
    Senior Member
    Join Date
    Jan 2004

    Question 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.

  2. #2
    Senior Member
    Join Date
    Oct 2003
    You will need to use Windows API's directly so you will have to use P/Invoke

Similar Threads

  1. Windows 7 XP Mode
    By nihil in forum Microsoft Security Discussions
    Replies: 2
    Last Post: April 30th, 2009, 03:12 AM
  2. The history of the Mac line of Operating systems
    By gore in forum Operating Systems
    Replies: 3
    Last Post: March 7th, 2004, 08:02 AM
  3. A look into IDS/Snort Whole thing by QoD
    By qod in forum The Security Tutorials Forum
    Replies: 6
    Last Post: February 27th, 2004, 03:03 AM
  4. A look into IDS/Snort part 1 of 3
    By qod in forum The Security Tutorials Forum
    Replies: 18
    Last Post: January 5th, 2004, 02:30 PM
  5. The Worlds Longest Thread!
    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