MHz Posted January 25, 2005 Posted January 25, 2005 A little helper, to display and inform you of the index number for an icon, within Shell32.dll. GUICreate("Shell32 Icon Index", 400, 160) GUICtrlCreateTab(5, 5, 390, 150, 0x0200) For $tab = 1 To 231 Step 10 GUICtrlCreateTabItem($tab & ' - ' & $tab + 9) $left = 10 For $iconid = $tab To $tab + 9 GUICtrlCreateIcon("shell32.dll", $iconid, $left, 105) GUICtrlSetTip(-1, $iconid) $left = $left + 38 Next GUICtrlCreateTabItem(""); end tabitem definition Next GUISetState() While GUIGetMsg() <> -3;$GUI_EVENT_CLOSE WEnd
gcriaco Posted January 25, 2005 Posted January 25, 2005 Very nice code.Thanks for sharing it.PeppeA little helper, to display and inform you of the index number for an icon, within Shell32.dll.GUICreate("Shell32 Icon Index", 400, 160) GUICtrlCreateTab(5, 5, 390, 150, 0x0200) For $tab = 1 To 231 Step 10 GUICtrlCreateTabItem($tab & ' - ' & $tab + 9) $left = 10 For $iconid = $tab To $tab + 9 GUICtrlCreateIcon("shell32.dll", $iconid, $left, 105) GUICtrlSetTip(-1, $iconid) $left = $left + 38 Next GUICtrlCreateTabItem(""); end tabitem definition Next GUISetState() While GUIGetMsg() <> -3;$GUI_EVENT_CLOSE WEnd <{POST_SNAPBACK}>
Lazycat Posted January 25, 2005 Posted January 25, 2005 Interesting idea with tabs. I've made similar script, posted in this thread, but it's works a bit differently. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
layer Posted January 25, 2005 Posted January 25, 2005 that's awesome now i can use icons without using fileinstall! FootbaG
MHz Posted January 26, 2005 Author Posted January 26, 2005 Thanks for opinions, people. @Lazycat, your script is great. Any file concept, very nice. I will have to try all the scripts in that thread.
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