Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / BUG SetRawMouseVisible() ?

Author
Message
Arbrakan
14
Years of Service
User Offline
Joined: 10th Oct 2010
Location: Geneva
Posted: 23rd May 2017 21:29
They don't work, sometime the mouse is visible, but sometimes the mouse stay hidden.

I am onn window 8.1



Someone else feedback ?

Thanks!
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 23rd May 2017 21:58 Edited at: 23rd May 2017 21:58
I can confirm that this does not work the way one would expect it to. I think its a bug I tested on a Windows 10 PC.

It might be worthwhile to use a sprite instead of the mouse pointer? I mean, Hide it at the beginning, then use a sprite at MouseX, MouseY to represent the pointer.
Arbrakan
14
Years of Service
User Offline
Joined: 10th Oct 2010
Location: Geneva
Posted: 23rd May 2017 22:07
Thanks for your quick feedback !

With a sprite, it is a great way to go, but i want to make a "Window software" not a game... I need to get the window mouse cursor.

cheers.
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 24th May 2017 00:50
I tried it on Windows 10 and it seemed to work, except there was a delay of several seconds before the request to hide or show the mouse took effect. Unfortunately I don't think there is anything we can do, it may be that the show/hide mouse feature of Windows was not designed to handle frequent showing and hiding of the mouse.
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 24th May 2017 07:06
i think the problem begings if you make the mouse visible if she is already visible
AGK (Steam) V2017.05.15 : Windows 10 Pro 64 Bit : AMD (17.4.4) Radeon R7 265 : Mac mini OS Sierra (10.12.2)
Arbrakan
14
Years of Service
User Offline
Joined: 10th Oct 2010
Location: Geneva
Posted: 24th May 2017 07:28
Thanks all for the feedback !

Markus, thanks a lot, it work perfectly !

Cheers
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 24th May 2017 08:52
Windows is probably queuing the show/hide requests, which is what's causing the issues. It has to process hundreds/thousands of requests until it gets to the one which actually does something.
Signature removed by mod because it's larger than 600x120... please resize and try again.

Login to post a reply

Server time is: 2024-11-24 13:43:11
Your offset time is: 2024-11-24 13:43:11