Jump to content

Possible to read GuiCtrlCreateIcon-name?


zvvyt
 Share

Recommended Posts

Okay, so here's what I'm dealing with:

I'm having a series of icons created from separate GuiCtrlCreateIcon-controls. All them each have a unique icon-name/number to icons inside a .dll.

What I'd like to achieve here is to be able of reading that name/number once the icon has been clicked with f.ex. a GuiCtrlRead-command or so.

Why I want this done is because I'm then going to use that number in a IniRead-function where that number will be a key with a certain value, so basicly "linking" that icon to that key/line in the .ini.

Is this achieveable, or would it just be easier to use a $n = n and then set GuiCtrlCreateIcon(".dll",$n,..,..,..,..) for each icon-control?

Thanks in advance!

Best regards,

zvvyt

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

×
×
  • Create New...