Jump to content
Sign in to follow this  
YoseMite

Icon in a status bar

Recommended Posts

YoseMite

Hi!

Is it possible to make icons in a status bar?

Like this:

Posted Image

Thanks,

YoseMite

Share this post


Link to post
Share on other sites
JoshDB

If the status bars are in your AU3 GUI, then yes. Definitely. You can even use the as little buttons.

Check out GUICtrlCreatePic()

Edited by JoshDB

Ha, I haven't been on these forums since... 2006, almost. Behold, my legacy signature:My AutoIt idol is Valuater. You know you love him, too.My Stuff: D&D AGoT Tools Suite

Share this post


Link to post
Share on other sites
powaking

in beta you would use _GuiCtrlStatusBarSetIcon

How do you clear out the icon once your status is completed? I'm doing a _GUICtrlStatusBarSetIcon($StatusBar1,0,"shell32.dll",49)

icon #49 is blank. SHould be a better way though.

Share this post


Link to post
Share on other sites
GaryFrost

How do you clear out the icon once your status is completed? I'm doing a _GUICtrlStatusBarSetIcon($StatusBar1,0,"shell32.dll",49)

icon #49 is blank. SHould be a better way though.

-1 for id should remove the icon

just tested real quick, and this worked

_GUICtrlStatusBarSetIcon($StatusBar1, 0, "", -1)
Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites
powaking

-1 for id should remove the icon

just tested real quick, and this worked

_GUICtrlStatusBarSetIcon($StatusBar1, 0, "", -1)
:P Damn, you would think by now that I would have tried it with -1. THanks!

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.