Sign in to follow this  
Followers 0
YoseMite

Icon in a status bar

6 posts in this topic

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



#2 ·  Posted (edited)

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

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

#5 ·  Posted (edited)

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

-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  
Followers 0