Results 1 to 2 of 2

Thread: Multi monitor... which monitor is my form on??

  1. #1

    Thread Starter
    Frenzied Member Ultimasnake's Avatar
    Join Date
    Feb 2002
    Location
    Amsterdam, holland
    Posts
    1,172

    Multi monitor... which monitor is my form on??

    how can i check what monitor my app is currently running?

    (this ofcourse in a multimonitor scenario?
    For my PC and MS Smartphone 2003 software visit
    http://www.ultimasoftware.nl

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    There is a Screen class you may use.
    VB Code:
    1. For Each mon As Screen In Screen.AllScreens
    2.         If mon.Primary Then
    3.              MessageBox.Show(mon.DeviceName)
    4.         End If
    5. Next
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

Posting Permissions

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



Click Here to Expand Forum to Full Width