Modify ↓
#3599 closed Bug (No Bug)
_WinAPI_ShowCursor does not hide the cursor.
| Reported by: | Au3Builder | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| Milestone: | Component: | Standard UDFs | |
| Version: | 3.3.14.2 | Severity: | None |
| Keywords: | Cc: |
Description
I tried to run my as admin..no effect :(
by the way,unban be please... Perm ban is too harsh.
Attachments (0)
Change History (5)
comment:2 by , 8 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:4 by , 8 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | assigned → closed |
In fact it is working not sure how to use it in all case
#include <GUIConstantsEx.au3>
#include <WinAPIRes.au3>
Example()
Func Example()
GUICreate("put cursor over label", 300, 100)
GUICtrlCreateLabel("label", 125, 40)
GUICtrlSetCursor(-1, 4)
GUISetState(@SW_SHOW)
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()
Case $GUI_EVENT_CLOSE
ExitLoop
EndSwitch
WEnd
EndFunc ;==>Example
comment:5 by , 8 years ago
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)
Sleep(5000)
_WinAPI_SetSystemCursor($hPrev, 32512)
unban me please...
i'm begging you.Do you want me to hurt myself?
Note:
See TracTickets
for help on using tickets.

I can reproduce the problem - thanks for the report.
And no we are not going to unban you, so stop asking.
M23