I'm using Ogre with CEGUI and OIS. If I alt-tab or hit a breakpoint out one time, everything works OK. If I alt-tab or hit a breakpoint out a second time, my mouse cursor is gone forever. I think the windows mouse cursor for windows is set to invisible, and not properly set to visible again when I alt-tab back.
Anyone else encounter this?
Mouse cursor gone forever
Moderators: CEGUI MVP, CEGUI Team
- tgraupmann
- Quite a regular
- Posts: 78
- Joined: Thu Aug 18, 2005 00:47
- Contact:
Yes. I have seen this. I just have the game track whether the mouse is shown or not.
And in the game loop I check if the window is active.
If the window is active then the mouse is hidden or shown.
And in the game loop I check if the window is active.
Code: Select all
if (m_Window->isActive())
If the window is active then the mouse is hidden or shown.
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 10 guests