Results 1 to 3 of 3

Thread: Get Screen Y

  1. #1

    Thread Starter
    Addicted Member Cuallito's Avatar
    Join Date
    Apr 2001
    Location
    You know that chest that you could never get opened? If you ever do, I'm there.
    Posts
    136

    Arrow Get Screen Y

    How do I get the number of pixels in the Y dimension of the current screen resolution without DX?
    BTW, Thanks for all your help

    Member of the anti-gay cross-dressing trans-species wolves alliance.

  2. #2
    Hyperactive Member mikef's Avatar
    Join Date
    Jun 2000
    Location
    Beach bound...
    Posts
    510
    yres = Picture1.Height / Screen.TwipsPerPixelY
    "If I had known it was going to be that kinda party, I would have stuck my disk in the mash potatos!"

  3. #3
    Hyperactive Member techman2553's Avatar
    Join Date
    Mar 2001
    Location
    <- To your left.
    Posts
    362
    Did you want the screen size in pixels ???

    Code:
    Debug.Print Screen.Height / Screen.TwipsPerPixelY
    ----------

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