Jump to content
Sign in to follow this  
MHz

Shell32 Icon Index

Recommended Posts

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

:lmao:

Share this post


Link to post
Share on other sites

Very nice code.

Thanks for sharing it.

Peppe

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

:lmao:

<{POST_SNAPBACK}>

Share this post


Link to post
Share on other sites

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.

:lmao:

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...