tarvr Posted January 12, 2012 Share Posted January 12, 2012 Hello, I try to create a menu. I don’t manage to create my buttons in transparent mode. Labels transparent mode is no problem. Can someone help me with this please? For testing put a file called “background.bmp” in the same folder as the AU3 script.Menu.au3 Link to comment Share on other sites More sharing options...
Mikeman27294 Posted January 12, 2012 Share Posted January 12, 2012 It is because GUICtrlSetBkColour doesnt support alpha channels (transparency) as far as I am aware. Try using a label rather than a button, and when the user clicks on that, then you do whatever the button was meant to do. Link to comment Share on other sites More sharing options...
UEZ Posted January 13, 2012 Share Posted January 13, 2012 Afaik the problem is the $BS_COMMANDLINK style and the color cannot be set to transparency. You can use picture controls and send a transparent image (e.g. PNG) to the control and simulate a hover effect. Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now