how could I move my mouse out of correct game without "Alt+Tab".
Directly move my pointer out.
move my mouse out the window
- haffax
- OGRE Retired Moderator

- Posts: 4823
- Joined: Fri Jun 18, 2004 1:40 pm
- Location: Berlin, Germany
- x 8
- Contact:
-
qsilver
- OGRE Community Helper

- Posts: 198
- Joined: Sat Oct 02, 2004 9:11 am
- Location: San Francisco, California, USA
You could modify the InputManager code to change the cooperation level of the DirectInput mouse code.
The alternative is to use MFC, WTL, WinForms, SDL, or some other toolkit to create your main window and handle all the keyboard/mouse events. You can then pass Ogre the window handle, and have it render inside your window.
The alternative is to use MFC, WTL, WinForms, SDL, or some other toolkit to create your main window and handle all the keyboard/mouse events. You can then pass Ogre the window handle, and have it render inside your window.
-
kaiwae
- Gnoblar
- Posts: 9
- Joined: Sat Jan 29, 2005 11:04 am
I should modify which file?qsilver wrote:You could modify the InputManager code to change the cooperation level of the DirectInput mouse code.
The alternative is to use MFC, WTL, WinForms, SDL, or some other toolkit to create your main window and handle all the keyboard/mouse events. You can then pass Ogre the window handle, and have it render inside your window.
OgreWin32Input8.cpp??? and thich file is main create the windows?
- neocryptek
- Gnome
- Posts: 335
- Joined: Sat Mar 01, 2003 11:21 pm
- Location: Idaho, USA
- Contact:
Please search!
http://www.ogre3d.org/phpBB2/viewtopic.php?t=7457
This thread has several ways to do it outlined.
-N30
http://www.ogre3d.org/phpBB2/viewtopic.php?t=7457
This thread has several ways to do it outlined.
-N30