Jump to content
Sign in to follow this  
Lord_Doominik

2 questions

Recommended Posts

i want to know how to create buttons over a picture, so that you can click at it.

for example:

GUICtrlCreatePic("bla.bmp", 0, 0, 800, 600)
GUICtrlCreateButton("bla", (800-100)/2, 200, 100, 20)

and i also want to know how i can create a gif picture which has set a transparence... i tryed it with $WS_EX_LAYERED but with this the picture only disappeared.

Share this post


Link to post
Share on other sites

Create the buttons first then the pic, then disable the pic, should do it

That will take of your 1st question, someone else will have to answer the other.

GUICtrlCreateButton("bla", (800-100)/2, 200, 100, 20)
GUICtrlCreatePic("bla.bmp", 0, 0, 800, 600)
GUICtrlSetState(-1, $GUI_DISABLE)
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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...