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

    Dialog resolution

    I need to change the resolution of a dialogbox...
    How do I get a hold of the variables to do that and how do I know how what resolution the user is using????


  2. #2
    Guest

    Re: Dialog resolution

    NavelLudd, I don't have VC++ on my home computer, but I know there's a function called GetSystemMetrics, and you can use a parameter like CMX_SCREEN (or something) which will return (fill?) a RECT (or similar) structure with the screen width and height, as in 640x480, or 800x600, etc.
    - David


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