0

I have an MFC application/dialog that goes into full-screen mode. I run it on a Windows 7 dual display with nVidia GT 330. I need to make it go-full screen on the second desktop (not primary display) from within the program, without any user input. Is this possible with Direct3D?

dr_rk
  • 4,395
  • 13
  • 48
  • 74

1 Answers1

0

You can move the window to the second desktop with Windows API, and switch to fullscreen if you are using D3D9 or earlier (The multi-monitor sample for D3D10 is still using this method though). If you have DXGI, you can set which monitor to use with the second parameter of SetFullscreenState.

BlueWanderer
  • 2,671
  • 2
  • 21
  • 36
  • I am using GDI+ to display the graphic. This is using Visual Studio 2005. Does GDI+ use D3D? If so, how do I find which version? – dr_rk Apr 19 '12 at 15:23
  • 1
    GDI+ is a pure software engine and has nothing to do with Direct3D. If you are not using Direct3D, fullscreen means just a borderless window occupying a whole desktop. – BlueWanderer Apr 19 '12 at 15:40