+ Reply to Thread
Results 1 to 2 of 2

Thread: Get monitor from cursor location

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    24

    Get monitor from cursor location

    I need to get the monitor from the current location of the mouse. How to get this using MFC/WIN32 API. any idea?

  2. #2
    Junior Member
    Join Date
    Feb 2012
    Posts
    29
    You can get the mouse position using GetCursorPos API. Once you have cursor position then you can use the MonitorFromPoint to get the handle to monitor!
    Hope this helps.

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts