Opened 15 years ago
Closed 15 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 Changed 15 years ago by TicketCleanup
- Version 3.3.1.6 deleted
comment:2 Changed 15 years ago by MrCreatoR <mscreator@…>
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 Changed 15 years ago by Zedna
@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 Changed 15 years ago by Jpm
- Milestone set to 3.3.3.2
- Owner set to Jpm
- Resolution set to Completed
- Status changed from new to closed
Added by revision [5549] in version: 3.3.3.2
comment:5 Changed 15 years ago by Valik
- Milestone 3.3.3.2 deleted
- Resolution Completed deleted
- Status changed from closed to reopened
This will not be in the next release of AutoIt.
comment:6 Changed 15 years ago by Jon
- Milestone set to 3.3.3.3
- Owner changed from Jpm to Jon
- Resolution set to Completed
- Status changed from reopened to closed
Added by revision [5565] in version: 3.3.3.3
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.
Automatic ticket cleanup.