Article View: borland.public.cppbuilder.multimedia
Article #506Change Resolution
From: George
Date: Fri, 14 Nov 2003 09:52
Date: Fri, 14 Nov 2003 09:52
26 lines
1606 bytes
1606 bytes
Hi, I'm using that code: DEVMODE devicemode; memset(&devicemode,0,sizeof(devicemode)); devicemode.dmBitsPerPel = 16; devicemode.dmPelsWidth = 1280; devicemode.dmPelsHeight = 1024; devicemode.dmDisplayFrequency=75; devicemode.dmSize = sizeof(devicemode); devicemode.dmFields = DM_BITSPERPEL|DM_PELSWIDTH|DM_PELSHEIGHT; devicemode.dmDisplayFlags= NULL; ChangeDisplaySettings(&devicemode,CDS_UPDATEREGISTRY); that must change the resolution to 1280x1024 16bits in 75Hz. It goes to 1280x1024 but it goes to 60 not to 70Hz ! If I go manually to the Display Properties, I can switch to 70Hz without problems (or restart). I'm running Windows XP Pro. Thank you!
Technical Details
Message-ID:
<3fb49782@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d0fc,99147ea5fbb3b978,start X-Google-Attributes: gid10d0fc,public X-Google-ArrivalTime: 2003-11-14 01:09:29 PST From: "George" <george@nospam.org> Newsgroups: borland.public.cppbuilder.multimedia Subject: Change Resolution Date: Fri, 14 Nov 2003 11:52:58 +0200 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 213.16.182.131 Message-ID: <3fb49782@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1068799874 213.16.182.131 (14 Nov 2003 00:51:14 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail