C# and screen

  • Thread starter Thread starter Alexander Vasilevsky
  • Start date Start date
A

Alexander Vasilevsky

What are a function on work with adjusting a screen?
It is needed to show out all supported screen resolution and in accordance
with chosen frequency...

http://www.alvas.net - Audio tools for C# and VB.Net developers
 
This information is not available in .NET as far as I know. You can get the
current screen information but I dont this the potentials are available.
However, this information is probably available from Windows Management
Intrumentation. You would however need to find the query to access it.

Let us know if you find it
 
I believe the only way is to use pInvoke,
but to access hardware Win32 apis
is not such an easy thing.
I would start by reading about WDM

Carlos.
 
Alexander said:
What are a function on work with adjusting a screen?
It is needed to show out all supported screen resolution and in accordance
with chosen frequency...

http://www.alvas.net - Audio tools for C# and VB.Net developers

I think you have to use something like WinAPI, DirectX or XNA. I don't
think it can be done directly from C#.

Todd
 
I believe that DirectX re used to draw only, not to change hardware
configurations.
Now I remember Pavel´s answer is good, but perhaps WDM stuff is better.

Carlos.
 
Back
Top