Jump to content

Use an Icon as a button


 Share

Recommended Posts

Tell me about it.  My girlfriend has got me tied up pretty much every night at the moment  :huh2:  :D

Jon,

I am doing the testing og Holger stuff, I am sending you the updates I found some discrepency that's I correct too.

:)

Link to comment
Share on other sites

@jpm: thanks for testing  :huh2:

could you tell me/post where the error/problem was?

Maybe I can learn a little bit more  :D

Thanks and regards

Holger

no error in your code. but trying to not duplicate cade show me some error in ither part of the gui error code handling :)
Link to comment
Share on other sites

  • 3 months later...

Since I've been reminded that GUI functions are still in development and can change between releases: how does one currently use an icon as a button? So when you add an icon to a GUI window (like the uparrow in Explorer to jump to the directory one level up), how do you make it become 'pressed down' when the user clicks it?

MultiMakeMKV: batch processing for MakeMKV (Win)MultiShrink: batch processing for DVD ShrinkOffizieller Übersetzer von DVD Shrink deutsch
Link to comment
Share on other sites

@Chetwood: you have to use/set an icon ON a button like:

...
include "GUIConstants.au3"
...
$button = GUICtrlCreateButton("",10,10,70,20,$BS_ICON)
GUICtrlSetImage(-1,"shell32.dll,22)
...

Holger

Edited by Holger
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...