mouse over window

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

Moderators: CEGUI MVP, CEGUI Team

E.Kiver
Just popping in
Just popping in
Posts: 12
Joined: Tue Oct 09, 2007 18:56

mouse over window

Postby E.Kiver » Wed Jan 09, 2008 21:31

Is there any fast method to get is there mouse cursor under window?

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Wed Jan 09, 2008 22:13

System::getWindowContainingMouse() will return the window which currently has the mouse over it, or NULL if no such window.

HTH.
Check out my released snake game using Cegui!

E.Kiver
Just popping in
Just popping in
Posts: 12
Joined: Tue Oct 09, 2007 18:56

Postby E.Kiver » Thu Jan 10, 2008 08:51

Thanks a LOT! Its exactly what I need now.


Return to “Offtopic Discussion”

Who is online

Users browsing this forum: Google [Bot] and 8 guests