Modify

#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, on Nov 26, 2009 at 5:00:02 PM

Version: 3.3.1.6

Automatic ticket cleanup.

comment:2 by MrCreatoR <mscreator@…>, on Nov 27, 2009 at 7:32:41 PM

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, on Nov 27, 2009 at 9:10:16 PM

@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 Jpm, on Jan 6, 2010 at 8:41:22 PM

Milestone: 3.3.3.2
Owner: set to Jpm
Resolution: Completed
Status: newclosed

Added by revision [5549] in version: 3.3.3.2

comment:5 by Valik, on Jan 7, 2010 at 12:42:36 AM

Milestone: 3.3.3.2
Resolution: Completed
Status: closedreopened

This will not be in the next release of AutoIt.

comment:6 by Jon, on Jan 8, 2010 at 10:41:31 AM

Milestone: 3.3.3.3
Owner: changed from Jpm 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.