CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2001
    Location
    UK
    Posts
    14

    I need form dimentions for 800 x 600 resolution

    If my system is designed to run on a screen size of 800 x 600, then what should the Width and Height of the form be in twips.

    Help appreciated

    John lamb


  2. #2
    Join Date
    Nov 1999
    Posts
    18

    Re: I need form dimentions for 800 x 600 resolution

    To convert a pixel value to a twip value,
    use

    pxValue * Screen.TwipsPerPixelX

    for width,

    and

    pxValue * Screen.TwipsPerPixelY

    for height.

    where pxValue is your pixel value (600, 800, etc)


  3. #3
    Join Date
    Apr 2001
    Location
    UK
    Posts
    14

    Re: I need form dimentions for 800 x 600 resolution

    Thanks I'll give it a go

    John lamb


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

Featured