Results 1 to 2 of 2

Thread: How to get windows desktop area settings thr. API or any other way ?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2001
    Posts
    17
    I need to know the desktop settings of windows before starting my application. Because I need to adjust the
    positions accordingly. Its a appln handling / modifying images. Like paint brush.

    FYI
    We need to put symbols related to telephone networks (which are not available in other s/ws)
    we have created a separate tool.

    I think there must be an API to give these info or may be thr. registry.

    Regards

    Harshad
    Harshad Agashe

  2. #2
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    there is an api, it's in the registry, but the easiest way is through VB's Screen Object!!!!

    Code:
    ScreenWidth = Screen.Widht / Screen.TwipsPerPixelX
    ScreenHeight = Screen.Height / Screen.TwipsPerPixelY
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

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