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????
Printable View
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????
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