Modify ↓
Opened 16 years ago
Closed 16 years ago
#908 closed Bug (No Bug)
GUICtrlSetImage needs wrong icon index to show needed icon
Reported by: | Pumbaa | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.0.0 | Severity: | None |
Keywords: | GUICtrlSetImage wrong icon index | Cc: |
Description
GUICtrlSetImage needs wrong icon index to show needed icon.
In 3.2.X.X (don't remember exact version) I used such code
$About = GUICtrlCreateButton ("", 184, 5, 21, 21, $BS_ICON) GUICtrlSetImage (-1, "shell32.dll", 172, 0)
But after installing 3.3.0.0 I've got wrong icon & found that now icon index became +110 - so:
#include <ButtonConstants.au3> $About = GUICtrlCreateButton ("", 184, 5, 21, 21, $BS_ICON) GUICtrlSetImage (-1, "shell32.dll", 282, 0)
After small exploration I've found that about first 50 icons are ok, but further indexes indent with growing delta (delta is not constantly 110).
Attachments (0)
Change History (1)
comment:1 Changed 16 years ago by Jpm
- Resolution set to No Bug
- Status changed from new to closed
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.
Note: See
TracTickets for help on using
tickets.
Just reread the doc as negative index have been introduce to differentiate name and index reference