I don't have a dual monitor to try it out on. It depends what GetDesktopWindow() returns, probably.
This is a nice example of multiple display position code : http://msdn.microsoft.com/en-us/library/ms534817.aspx
Here's an exe of the following code using the modified BRL code : centered_dx.zip (75kb)
If anyone with dual setup wants to try it and see where it goes... :-)
This is a nice example of multiple display position code : http://msdn.microsoft.com/en-us/library/ms534817.aspx
Here's an exe of the following code using the modified BRL code : centered_dx.zip (75kb)
SuperStrict Framework brl.d3d7max2d Graphics 640, 480, 0 While Not KeyDown(KEY_ESCAPE) Cls Flip Wend
If anyone with dual setup wants to try it and see where it goes... :-)