Jump to content

Replace .png file with another in Gui - (Moved)

Recommended Posts

  • Developers

Moved to the appropriate forum, as the AutoIt Example Scripts forum very clearly states:


Share your cool AutoIt scripts, UDFs and applications with others.

Do not post general support questions here, instead use the AutoIt Help and Support forums.

Moderation Team

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

Depends where the images come from.  If they all are located on files, then use GUICtrlSetImage() function. Otherwise, show a more substantial snippet of your code than that single line you just posted ;) 

Edited by Nine
Link to comment
Share on other sites

Hi everyone, Thanks for the help :)

I was able to overcome the issue, and all of the other functions

I use the  _GDIPlus_GraphicsDispose



It turnes out that the .png wasn't saved correctly, but after I fixed it, the file was loaded by autoit, and I was able to replace it with another file.


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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...