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
Ciaran O''Donnell - 11 Jul 2008 01:31 GMT
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

Signature
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com
> 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
Carlos - 19 Jul 2008 02:22 GMT
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.
> 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
Pavel Minaev - 19 Jul 2008 12:18 GMT
> 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
You'll need to use P/Invoke to call Win32 API functions
EnumDisplaySettings and ChangeDisplaySettings. Here's a CodeProject
article on how to do that from C#:
http://www.codeproject.com/KB/cs/csdynamicscrres.aspx
Todd Carnes - 19 Jul 2008 15:21 GMT
> 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
Carlos - 31 Jul 2008 00:36 GMT
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.
>> What are a function on work with adjusting a screen?
>> It is needed to show out all supported screen resolution and in
[quoted text clipped - 6 lines]
>
> Todd