View Full Version : Is it possible to hide mouse pointer??
webquinty
24th November 2009, 15:22
Hello,
I found solution for hide cursor:
qApp->setOverrideCursor( QCursor( Qt::BlankCursor ) );
But now I am interesting to hide mouse pointer.
Is it possible??
Best reagards.
John
high_flyer
24th November 2009, 15:31
what is a mouse pointer if its not the same as mouse cursor?
webquinty
24th November 2009, 15:33
what is a mouse pointer if its not the same as mouse cursor?
Hello high_flyer,
Cursor is botton line in a text box.
Mouse pointer is blank arrow that move around screen.
Best regards
high_flyer
24th November 2009, 15:44
qApp->setOverrideCursor( QCursor( Qt::BlankCursor ) );
this should hide the mouse 'pointer', the QCursros is for:
The QCursor class provides a mouse cursor with an arbitrary shape.
webquinty
24th November 2009, 15:50
qApp->setOverrideCursor( QCursor( Qt::BlankCursor ) );
this should hide the mouse 'pointer', the QCursros is for:
Thank you very much.
But it does not work.
I am going to check my code again.
Best regards.
webquinty
24th November 2009, 15:57
Hello,
I am sorry, but it works fine, but there is a problem.
When I execute my code, mouse pointer appear in the center of screen and it is visible.
But If I move mouse, pointer will be hide.
Then , when app start, using code I will move mouse.
Thanks a lot.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.