Jump to content
Sign in to follow this  
nhatlinhvietnam

How to insert a picture to a button?

Recommended Posts

nhatlinhvietnam

Hello anyones!

I have tried to insert a picture to a button looks like:

I think they inserts the images in front of the button,can you help me?

Share this post


Link to post
Share on other sites
exodius

From the Help File for GuiCtrlCreateButton:

A Button control can display an icon or image by using the $BS_ICON or $BS_BITMAP style. Use GUICtrlSetImage to specify the picture to use.

I'd look up that function, give that a try, and post what you come up with if it doesn't turn out the way you want it to.

Edited by exodius

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.