microsoft.public.win32.programmer.directx.graphics - Microsoft 32-bit development
Hi, I am having a terrible time getting DirectDraw7 to work correctly with multiple monitors. I want both displays set to exclusive mode. Through lots of experimenting I can get to the point where I can do this, but as as soon as I call SetDisplayMode() on the second display, the surface on the first display appears to be lost. Here is basically what I am doing: IDirectDraw7* lpDD1,* lpDD2; // Initialised for both monitors lpDD1->SetCooperativeLevel(hwnd,DDSCL_SETFOCUSWINDOW); lpDD1->SetCooperativeLevel(hwnd,DDSCL_SETDEVICEWINDOW|DDSCL_EXCLUSIVE|DDSCL_ FULLSCREEN); lpDD1->SetDisplayMode(1024,768,32,0,0); lpDD2->SetCooperativeLevel(hwnd,DDSCL_SETFOCUSWINDOW); lpDD2->SetCooperativeLevel(hwnd2,DDSCL_SETDEVICEWINDOW|DDSCL_EXCLUSIVE|DDSCL _FULLSCREEN); // all is ok up to this point, and then.. lpDD2->SetDisplayMode(1024,768,32,0,0); Although the second call to SetDisplayMode() works, the surface is lost on the primary display. Instead of using a second window (hwnd2) in the call to lpDD2->SetCooperativeLevel() I have also tried passing the same window handle as in the other calls and specifying DDSCL_CREATEDEVICEWINDOW, but this fails with E_INVALIDARG. Does anyone have any ideas? Thanks, Jon
Hello all. I need some help finding a remote software that will allow me to view multiple monitors (2-3) from my single monitor. Is there such an application out there? I currently have RADMIN and can remote and view one monitor on computers but we have users in our office using 2 or 3 monitors. I am only able to view the far left monitor when remoting in. Any advice would be greatly appreciated.
hy there! well, i'm woundering how to play 2 or more .avi files on DirectDraw surface.....cos i'm trying to make a main menu (for a game), and menu items should be .avi files...... so please help....
I have two displays on one video card. It seems there should be a way to load textures and use them on both devices but I can't figure out how. Thanks in Advance.