469,166 Members | 2,169 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,166 developers. It's quick & easy.

auto change resolution

hi there...

i have a question.. i'm doing a system with resolution 1024 x 768. Is there any way that my system can auto change its resolution based on the visitor's monitor?
Aug 9 '06 #1
1 3830
Banfa
9,063 Expert Mod 8TB
There is a function

int GetDeviceCaps(
HDC hdc, // handle to the device context
int nIndex // index of capability to query
);

which will allow you to detect the resolution of the display device in use. You could use this information to alter what your program is doing.
Aug 9 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Erik Bethke | last post: by
4 posts views Thread by Dean J. Garrett | last post: by
1 post views Thread by GMK | last post: by
7 posts views Thread by mukeshgupta.WD | last post: by
4 posts views Thread by =?Utf-8?B?TWFyaw==?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.