Mark Wexler 2003-04-27 02:09
Hello, this is a question from a multimon (though not a programming) newbie. Thanks a lot to anyone who can help.
Here's what I'd like to do: run a full-screen, DirectX 8.1 accelerated app on the second monitor of my 2-monitor system with an NVIDIA Quadro4 900 XGL card.
The trouble: while the app is running, any mouse click in the primary display crashes it!
Details: I currently create a 1-pixel-wide parent window on the *primary* display (WS_EX_TOPMOST, WS_POPUP); then I create a DX device for that window, on the adapter corresponding to the second monitor (Adapter=1).
I realize that something that I'm doing is wrong, but I need some help in figuring it out. Should I create the parent window on the secondary monitor? Should I change some of its properties?
If anyone has any suggestions or simple working examples, I would be very grateful.
Mark
|