auto change resolution

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sakurasyi
    New Member
    • May 2006
    • 31

    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?
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    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.

    Comment

    Working...