wxScreenDC & wxDisplay

Steven Van Ingelgem steven at vaningelgem.be
Sun Nov 4 14:39:35 PST 2007


Hi,


How do I access a 2nd screen to paint on?
The main problem here is that I don't have a second monitor hooked up
:) so I can't test stuff out...

What I was thinking is creating another wxFrame, make it topmost &
make it fullscreen... But how do I move this to the second monitor?
wxDisplay::GetGeometry? And how do I make it fullscreen, what if I
move it to the second monitor, but when I do  it goes fullscreen on
both monitors?

Is there anyone who have done those things before and would be so kind
to lend me a helping hand (what I want to achieve is to just draw a
PNG image centered on a black background on all the screens but the
primary one).


Thanks a lot!




More information about the wx-users mailing list