Discussion:
Dual monitor debugging
(too old to reply)
Jack
2008-03-21 12:07:39 UTC
Permalink
I have a Radeon 9600 card which has one DVI and one VGA socket
My host monitor's resolution is 1280x1024x32bbp
and
The VGA is 640x480x8

How do I make the output (WM_PAINT) go to the secondary monitor so I can
check my program?
Thanks
Jack
Nathan Mates
2008-03-21 16:42:21 UTC
Permalink
Post by Jack
How do I make the output (WM_PAINT) go to the secondary monitor so I can
check my program?
This doesn't seem to make any sense to me. WM_PAINT applies to a
specific window, not a monitor. You should be able to just drag your
window to the other monitor, and WM_PAINT should fill the rectangle,
no matter where it is. Are you talking about text generated by
OutputDebugString or the like instead? If so, just use a program like
DebugView -- see
http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx -- to
show that anywhere you want.

Nathan Mates
--
<*> Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein
Loading...