ddt.demos.su!f400.n5020!f1.n4625!f30.n4625!server.oaio.savebank!f30.n4625.z2!p
16.f30.n4625.z2!not-for-mail
Hello, Carlos!
08-Jul-97, Carlos Sanchez Garcia wrote to All
About: Win Resolution
CSG> Hi All!
CSG> How can I know Windows resolution and number of colors from Delphi?
From the registry section:
Key: HKEY_CURRENT_CONFIG\Display\Settings
Value: BitsPerPixel
This way you can get the number of colors (2 in BitsPerPixel degree).
Same key and 'Resolution' value gives you an information about
current resolution.
CSG> See you :)
Best wishes, Alex Shepetko
--- Terminate 4.00/Pro
---------------
* Origin: P.O.S.T.E. "Elena" Vinnytsia elenavin@sovamua.com (2:4625/30.16)
|