EnumDisplaySettings for current settings |
|
Hi All,
I'm using
EnumDisplaySettings(nil, ENUM_CURRENT_SETTINGS, FDMOrig);
to get the current screen settings where FDMOrig is of type TDevMode.
On my Windows XP development machine, it reports screen resolution
correctly. However, on a Vista wide-screen laptop that I'm testing
on, the screen resolution is set to 1280 x 1024 but the
EnumDisplaySettings call reports it as 1280 x 1000.
Any ideas why this would report 1000 instead of 1024 on Vista? Is
there a new API function that works better for Vista or am I using the
API call incorrectly?
Thanks,
Steve
|
Re: EnumDisplaySettings for current settings |
|
Never mind guys. I found my error. I was having a brain bug.
Steve
On Wed, 02 Jan 2008 10:59:36 -0500, Steve
wrote:
>Hi All,
>
>I'm using
>
> EnumDisplaySettings(nil, ENUM_CURRENT_SETTINGS, FDMOrig);
>
> to get the current screen settings where FDMOrig is of type TDevMode.
>On my Windows XP development machine, it reports screen resolution
>correctly. However, on a Vista wide-screen laptop that I'm testing
>on, the screen resolution is set to 1280 x 1024 but the
>EnumDisplaySettings call reports it as 1280 x 1000.
>
>Any ideas why this would report 1000 instead of 1024 on Vista? Is
>there a new API function that works better for Vista or am I using the
>API call incorrectly?
>
>Thanks,
>Steve
|