SetFocus

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Asheh
Posts: 14
Joined: Tue Sep 14, 2004 7:27 pm

SetFocus

Post by Asheh »

Im having a problem with setFocus, When i setFocus on an editbox in the GUI, it works fine, then after i have to click the mouse to restore focus to the actual "screen". So how can i restore the focus to the screen without clicking the mouse?

Any ideas?
Thanks.
Asheh
Posts: 14
Joined: Tue Sep 14, 2004 7:27 pm

Post by Asheh »

to restore the focus to the main window just call setFocus(NULL);

:)

Fixed it.
Post Reply