Sign in to follow this  
Followers 0
pete m

How To Set Cursor Hourglass Shape

4 posts in this topic

Hi All,

I've been searching help & the forum about how to set the cursor shape

to hourglass/busy. I need to inform my users to wait. All I found in my

search was how to tell what shape it is.

Thanks

Share this post


Link to post
Share on other sites



if you COULD serach help for "mouse" or "cursor'

help has very good demo's at the bottom of each page

on your computer press the following

Start > All Programs > Autoit v3 > Autoit Help File

when that loads then press the "search" tab

then type in "?your search?" and press "List Topics"

**** you can do this with any word you want

thats what i do all the time

******** and thats wher this script came from

just press esc to see the different cusers

#include <GUIConstants.au3>

$IDC = -1
$newIDC = 0

HotkeySet("{Esc}", "Increment")

GUICreate("Press Esc to Increment", 400, 400,0,0,0x04CF0000, 0x00000110)

GUISetState ()

While GUIGetMsg()<> $GUI_EVENT_CLOSE
     If $newIDC <> $IDC Then
         $IDC = $newIDC
         GUISetCursor($IDC)
     EndIf
     ToolTip("GUI Cursor #" & $IDC)
WEnd
Exit

Func Increment()
     $newIDC = $IDC + 1
     If $newIDC > 15 Then $newIDC = 0
EndFunc

by the way.... this is straight from help.... your cusor is 15 for hour glass

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Heh... Missed GUISetCursor somehow.

Thanks for your guidance.

Share this post


Link to post
Share on other sites

your welcome

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0