Mouse cursor gone forever

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Tue Aug 15, 2006 02:49

Mouse cursor gone forever

Postby Rakkar » Mon Feb 12, 2007 00:39

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?

User avatar
Quite a regular
Quite a regular
Posts: 78
Joined: Thu Aug 18, 2005 00:47

Postby tgraupmann » Sun Apr 22, 2007 22:08

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.

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 2 guests