Modify

Opened 16 years ago

Closed 16 years ago

#1311 closed Feature Request (Completed)

MouseGetCursor() - identify also standard hand cursor (IDC_HAND)

Reported by: Zedna Owned by: Jon
Milestone: 3.3.3.3 Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

I'm looking at sources of MouseGetCursor() in script_misc.cpp (F_MouseGetCursor) and I see there is not implemented recognizing of standard cursor IDC_HAND.
Some time ago I already needed this one but it was recognized as 0.

Const $IDC_HAND = 32649

Attachments (0)

Change History (6)

comment:1 by TicketCleanup, 16 years ago

Version: 3.3.1.6

Automatic ticket cleanup.

comment:2 by MrCreatoR <mscreator@…>, 16 years ago

http://www.autoitscript.com/autoit3/docs/functions/MouseGetCursor.htm

Returns a cursor ID Number:

0 = UNKNOWN (this includes pointing and grabbing hand icons)
1 = APPSTARTING
2 = ARROW
3 = CROSS
4 = HELP
5 = IBEAM
6 = ICON
7 = NO
8 = SIZE
9 = SIZEALL
10 = SIZENESW
11 = SIZENS
12 = SIZENWSE
13 = SIZEWE
14 = UPARROW
15 = WAIT

Perhaps 0 is the same?

comment:3 by Zedna, 16 years ago

@MrCreatoR

No. I want special non zero number for standard HAND cursor.
Zero is returned for all other non standard (custom) cursors.
So in this way we can distinguish standard ones.

HAND cursor is the only one from all standard cursors not recoginzed by MouseGetCursor().

comment:4 by J-Paul Mesnage, 16 years ago

Milestone: 3.3.3.2
Owner: set to J-Paul Mesnage
Resolution: Completed
Status: newclosed

Added by revision [5549] in version: 3.3.3.2

comment:5 by Valik, 16 years ago

Milestone: 3.3.3.2
Resolution: Completed
Status: closedreopened

This will not be in the next release of AutoIt.

comment:6 by Jon, 16 years ago

Milestone: 3.3.3.3
Owner: changed from J-Paul Mesnage to Jon
Resolution: Completed
Status: reopenedclosed

Added by revision [5565] in version: 3.3.3.3

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.