Mikon Posted October 9, 2005 Posted October 9, 2005 just made this little script and i thought it could be usefull for someone as the topic description says it shows the icons in shell32.dll, which is imo quite usefull for GUI-makers i don't know if Buttons with $BS_ICON style require beta but i think so, so be warned well, here it is #include <GUIConstants.au3> Global $Buttons[16 * 15] GUICreate("ViewIcons - Icons in shell32.dll", 16 * 40, 15 * 40) For $i = 1 To 15 $y = $i * 40 - 40 For $j = 1 To 16 $x = $j * 40 - 40 $Buttons[($i - 1) * 16 + $j - 1] = GUICtrlCreateButton("", $x, $y, 40, 40, $BS_ICON) GUICtrlSetImage($Buttons[($i - 1) * 16 + $j - 1], "shell32.dll", ($i - 1) * 16 + $j) Next Next GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit For $k = 1 To 16 * 15 If $msg = $Buttons[$k - 1] Then MsgBox(0, "ViewIcons", "The selected Button's IconId is " & $k) Next WEnd Mikon
jefhal Posted October 9, 2005 Posted October 9, 2005 it shows the icons in shell32.dll,Nice job Mikon! You can also find some oldies-but-goodies in progman.exe in the same folder... ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
GaryFrost Posted October 9, 2005 Posted October 9, 2005 in the autoit3 folder \Examples\GUI\Advanced take a look at enumicons.au3 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Valuater Posted October 10, 2005 Posted October 10, 2005 nice work... I could have accomplished that in ... oh... about 100 to 150 lines of script (probably more than that actually) nice layout and response when pressing the button and recieving the icon number.... good short crisp coding 8)
theguy0000 Posted October 10, 2005 Posted October 10, 2005 hey, thats cool! now maybe a way to change them... The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now