Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3599 closed Bug (No Bug)

_WinAPI_ShowCursor does not hide the cursor.

Reported by: Au3Builder Owned by: Jpm
Milestone: Component: Standard UDFs
Version: Severity: None
Keywords: Cc:


I tried to run my as effect :(

by the way,unban be please... Perm ban is too harsh.

Attachments (0)

Change History (5)

comment:1 Changed 6 years ago by Melba23

I can reproduce the problem - thanks for the report.

And no we are not going to unban you, so stop asking.


Last edited 6 years ago by Melba23 (previous) (diff)

comment:2 Changed 6 years ago by Melba23

  • Owner set to Jpm
  • Status changed from new to assigned

comment:3 Changed 6 years ago by Jpm

Best for me is to have a repro script so I can analyze

Last edited 6 years ago by Jpm (previous) (diff)

comment:4 Changed 6 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from assigned to closed

In fact it is working not sure how to use it in all case

#include <GUIConstantsEx.au3>
#include <WinAPIRes.au3>


Func Example()
	GUICreate("put cursor over label", 300, 100)
	GUICtrlCreateLabel("label", 125, 40)
	GUICtrlSetCursor(-1, 4)
	Local $iRet = _WinAPI_ShowCursor ( 0 )
	ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $iRet = ' & $iRet & @CRLF & '>Error code: ' & @error & '    Extended code: ' & @extended & ' (0x' & Hex(@extended) & ')' & @CRLF) ;### Debug Console

	; Loop until the user exits.
	While 1
		Switch GUIGetMsg()

EndFunc   ;==>Example

comment:5 Changed 6 years ago by Au3Builder

Ok,so i found another way to hide the cursor.

All you need is Download Invisible Cursor and put it in the script directory:

#include <WinAPIRes.au3>

Local $hPrev = _WinAPI_CopyCursor(_WinAPI_LoadCursor(0, 32512))

_WinAPI_SetSystemCursor(_WinAPI_LoadCursorFromFile("invisible.cur"), 32512)
_WinAPI_SetSystemCursor($hPrev, 32512)

unban me please...

i'm begging you.Do you want me to hurt myself?

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jpm.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.