getCursorControl()->setVisible() sometimes not working
getCursorControl()->setVisible() sometimes not working
i'm using win32 and directx9 for my game, sometimes when i call setVisible(true), the cursor won't show up... from ten times run.... three or two times the cursor won't show up. what happend??
hai adik2 semua mari kita belajar sambil bermain bersama saya si BOBBY BOLA di edugames bermacam pelajaran bisa didapat ad berhitung menggambar mewarnai tidak ketinggalan dapat belajar nyanyi juga belajar huruf angka & logika bersama BOBBY BOLA semua bisa
-
- Competition winner
- Posts: 1123
- Joined: Sun Jun 10, 2007 11:14 pm
If you're including windows.h, you could always do
Code: Select all
ShowCursor(true);
That's more or less what Irrlicht is doing now. Actually it calls ShowCursor(true) as long until it is visible, as cursors use a counter on Windows.Lonesome Ducky wrote:If you're including windows.h, you could always doCode: Select all
ShowCursor(true);
But there had been problems with Irrlicht before 1.6, as the state did sometimes not switch while a mouse-button was pressed. If it is a problem with 1.6 it would be great to have some code to reproduce this problem.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm