Jump to content
Sign in to follow this  
rdwray

Change image without change ID

Recommended Posts

rdwray

I know that GUICtrlCreatePic can be used to change an image, but the handle also changes, is there a way to change an image without changing the handle? I am trying to use an image as a button (eliminating the button outline) showing it as up/pressed and if I don't use a button, then it requires re-creating the image and because of the handle changing the image flickers and cannot be tracked because the ID is a moving target.


“No other God have I but Thee; born in a manger, died on a tree.” Martin Luther

Share this post


Link to post
Share on other sites
wakillon

GUICtrlCreatePic is used for creates a Picture control for the GUI and return a Control Id.

Use GUICtrlSetImage for change image :oops:


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

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  

×