By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,467 Members | 1,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,467 IT Pros & Developers. It's quick & easy.

Is there any way to get the monitor native resolution.?

P: n/a
Hi,

I need to get the the display monitor native resolution.I have tried
SystemInformation.PrimaryMonitorSize. it is giving the exisiting resolution
of the display monitor that is connected.
Please help me out to find the way to get the native resolution of the
monitor that is connected

-BMK
Jul 14 '08 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Hi BMK,

Are you trying to find out the maximum resolution supported by your
monitor?

Thanks,
Christian
Jul 14 '08 #2

P: n/a
BMK wrote:
Hi,

I need to get the the display monitor native resolution.I have tried
SystemInformation.PrimaryMonitorSize. it is giving the exisiting resolution
of the display monitor that is connected.
Please help me out to find the way to get the native resolution of the
monitor that is connected

-BMK
Some monitors have a native resolution, some don't.

If it's an LCD monitor, the native resolution is the highest resolution
that it supports.

If it's a CRT monitor, it doesn't have a native resolution.

--
Göran Andersson
_____
http://www.guffa.com
Jul 14 '08 #3

P: n/a
Hi Christian,

For some monitors maximum resolution is different from native resolution.
is there any way to get maximum resolution supported by a monitor.?

-BMK

"Christian Blackburn" <ch*****************@yahoo.comwrote in message
news:04**********************************@e53g2000 hsa.googlegroups.com...
Hi BMK,

Are you trying to find out the maximum resolution supported by your
monitor?

Thanks,
Christian

Jul 14 '08 #4

P: n/a
Is it possible for me to findout the

1. whether it has native resolution or not
2. if it has native how to findout the highest resolution

i read some thing abt it here
http://www.projectorcentral.com/maximum_resolution.htm

-BMK

"Göran Andersson" <gu***@guffa.comwrote in message
news:en**************@TK2MSFTNGP06.phx.gbl...
BMK wrote:
>Hi,

I need to get the the display monitor native resolution.I have tried
SystemInformation.PrimaryMonitorSize. it is giving the exisiting
resolution of the display monitor that is connected.
Please help me out to find the way to get the native resolution of the
monitor that is connected

-BMK

Some monitors have a native resolution, some don't.

If it's an LCD monitor, the native resolution is the highest resolution
that it supports.

If it's a CRT monitor, it doesn't have a native resolution.

--
Göran Andersson
_____
http://www.guffa.com

Jul 14 '08 #5

P: n/a
DirectX9 seems an overkill, but does the enumeration of the supported modes
quite nicely:

foreach( AdapterInformation ai in Manager.Adapters)
{
// ai.CurrentDisplayMode.Width,
// ai.CurrentDisplayMode.Height,
// ai.CurrentDisplayMode.Format

foreach( DisplayMode dm in ai.SupportedModes)
{
// dm.Width,
// dm.Height,
// dm.Format (RGB)
}
}
Note that it only pumps out modes supported by DirectX. Some old graphic
cards, are example, support 24 bits - R8G8B8, but DirectX does NOT support
that mode, so it won't be listed.

If you use generic driver for the monitor, some mode may not work properly
(so the standard button to click within few seconds when you dynamically
change of resolution).

If you have two adapters, both are reported.

I am not aware of a 'native' mode. Do you mean 'actual', if so, use the
CurrentDisplayMode rather than using the innermost enumeration.

Vanderghast, Access MVP

<BMKwrote in message news:Ow**************@TK2MSFTNGP03.phx.gbl...
Hi,

I need to get the the display monitor native resolution.I have tried
SystemInformation.PrimaryMonitorSize. it is giving the exisiting
resolution of the display monitor that is connected.
Please help me out to find the way to get the native resolution of the
monitor that is connected

-BMK
Jul 16 '08 #6

P: n/a
I am not aware of a 'native' mode. Do you mean 'actual', if so, use
the CurrentDisplayMode rather than using the innermost enumeration.
LCDs have a native display resolution -- the actual number of crystals
physically comprising the screen. Switching to any other resolution forces
the display to continually stretch/resample to the native resolution,
resulting in blurriness.
Jul 16 '08 #7

This discussion thread is closed

Replies have been disabled for this discussion.