Page 1 of 1

mouse control/switching to other open applications (in xp)

Posted: Fri Apr 14, 2006 9:32 pm
by holytooth
Hi,

Not sure if this is actually a usual beginner question- but I am a beginner with Irrlicht, so here goes:

While running an Irrlicht app, including the examples... once the scene opens, if I switch to another application using alt-tab, the mouse is still bound to the open irrlicht app- and because of that, impossible to move beyond the center 20 percent or so of the screen.

Is there a way to release control of the mouse?

Posted: Sat Apr 15, 2006 1:25 am
by bitplane
just dont draw the scene if Device->isWindowActive() == false.

Posted: Sat Apr 15, 2006 2:04 am
by holytooth
works, thanks!

Posted: Wed Jun 28, 2006 5:33 pm
by TOP-Proto
how is this possible in a windows form application using a control to render to?