Article View: borland.public.cppbuilder.nativeapi
Article #14903Re: Monitor refresh rate.
From: Oren (Halvani.de)
Date: Sat, 26 Jul 2003 00:04
Date: Sat, 26 Jul 2003 00:04
15 lines
1239 bytes
1239 bytes
take this:
/**************************/
SYSTEM_INFO SysInf;
HDC hDC = GetDC(0);
GetSystemInfo((LPSYSTEM_INFO)&SysInf);
Memo1->Lines->Add("Frequency: "+ IntToStr(GetDeviceCaps(hDC, VREFRESH)) +
" Hz");
/**************************/
hope it helps you :-)
Oren
Technical Details
Message-ID:
<3f21c674@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f217d62@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,21c17db1a11dd752 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-25 17:09:29 PST From: "Oren \(Halvani.de\)" <neroniker@gmx.de> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f217d62@newsgroups.borland.com> Subject: Re: Monitor refresh rate. Date: Sat, 26 Jul 2003 02:04:36 +0200 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 213.6.43.250 Message-ID: <3f21c674@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1059178100 213.6.43.250 (25 Jul 2003 17:08:20 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail