Handle to monitor of active window

This is a discussion on Handle to monitor of active window within the C++ Programming forums, part of the General Programming Boards category; Hello, I am trying to find a way to get the handle (IntPtr) to the screen on which the active ...

  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    1

    Handle to monitor of active window

    Hello,

    I am trying to find a way to get the handle (IntPtr) to the screen on which the active window is present. This means that if I have an extended desktop and I move my window from the primary screen to the secondary screen, the pointer should be updated.

    Can anyone help me with this?

    Regards

  2. #2

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting other processes class names
    By Hawkin in forum Windows Programming
    Replies: 3
    Last Post: 03-20-2008, 04:02 PM
  2. Direct3D problem
    By cboard_member in forum Game Programming
    Replies: 10
    Last Post: 04-09-2006, 03:36 AM
  3. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 05:23 AM
  4. How to change window style at runtime?
    By Mr. Bitmap in forum Windows Programming
    Replies: 5
    Last Post: 06-09-2002, 04:49 PM
  5. Invoking MSWord
    By Donn in forum C Programming
    Replies: 21
    Last Post: 09-08-2001, 04:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21