Fullscreen / Multiple monitors

I am seeking a solution to the following problem, and was wondering if anyone could help. I want to:

1. Display a fullscreen window on one of *potentially multiple* monitors (the user selects the output monitor)
2. Be able to change the resolution of the selected monitor on entering fullscreen mode (and to change it back afterwards)
3. To be able to do this WITHOUT disabling other monitors (true fullscreen mode tends to 'black out' secondary monitors - I want to avoid this)

At the moment I have got this far:

Using the Screen class you can find out about multiple monitors and their bounds. You can then make a normal Windows Form (containing an OpenGL control) with no border and set its size to the bounds of the selected monitor - hence creating a "fake" fullscreen window and therefore avoiding disabling of any other monitors.

What I cant yet do is find a way to change the resolution just before doing this. Any ideas?

p.s. Is there a way of getting true fullscreen whilst forcing any other monitors to remain enabled? I believe true fullscreen mode gives quite a large performance boost, but always blacks out any other monitors on my system (using vista).

Lagz

p.s. Is there a way of

p.s. Is there a way of getting true fullscreen whilst forcing any other monitors to remain enabled?

I'd like to know the answer to this, too. I know there is a way - Assassin's Creed does this - but I don't know how.

------
OpenTK

Theme by La Boite a site | Powered by Drupal