Jump to content

Shell32 Icon Index


MHz
 Share

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:

Link to comment
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}>

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...