Jump to content
Sign in to follow this  
Radsam

Extract Icons from DLL

Recommended Posts

Hi,

Could anyone post the correct syntax to use DLLCALL to extract icons from user32.dll? I want to use some of the icons in my gui but I am unsure on how to code it.

Share this post


Link to post
Share on other sites

; In this example, 13 and 15 are icon indices

#include <GUIConstants.au3>
GUICreate("Example")

$button1 = GUICtrlCreateButton ("", 0,0,40,40,$BS_ICON)
GUICtrlSetImage (-1, "shell32.dll", 13)

$icon1 = GUICtrlCreateIcon ("shell32.dll",15, 50,0)

GUISetState()
While GuiGetMsg() <> $GUI_EVENT_CLOSE
WEnd


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

Hi,

Could anyone post the correct syntax to use DLLCALL to extract icons from user32.dll? I want to use some of the icons in my gui but I am unsure on how to code it.

<{POST_SNAPBACK}>

I am not sure you can really use what you can extract with DLLCALL but the example of CyberSlug is perfect for use with GUI AutoIt Functions :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...