Jump to content

how do i update a ICO GUIcontrol ?


Jos
 Share

Recommended Posts

  • Developers

In the CompileAU3 script i have an option to update the Icon for the compiler.

At this moment i overlay the current icon by the new one and do a GuiHide(), GuiShow() to refresh:

$H_INP_ICON_ICO = GUISetControl("icon", $INP_ICON, 530, 40)
; hide/show to force update of the icon 
GUIHide()
GUIShow()

Is there a way to update the original Control in stead of doing an overlay ?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

When I make possible to update "pic" control i found almost impossible toi update dynamically the "ico" control too complicated/too much code having in mind the 100K use for other functions than GUI.

What do you think Jon :D

Link to comment
Share on other sites

  • Developers

When I make possible to update "pic" control i found almost impossible toi update dynamically the "ico" control too complicated/too much code having in mind the 100K use for other functions than GUI.

What do you think Jon :D

Don't worry... it works for me the way i have it now...

Just wanted to know if there was a smarter way....

Thanks

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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...