Achilles Posted March 1, 2007 Posted March 1, 2007 Alright, I'm making a gui that has my own background, however when I put a checkbox on it the checkbox won't blend it so it looks horrible... Any ideas? #include <GUIConstants.au3> GuiCreate("Testing") GUICtrlCreatePic(@ScriptDir & "\Reminder - Background.JPG", 0, 0, 540, 465) GuiCtrlSetState(-1, $GUI_DISABLE) GuiCtrlCreateCheckBox("Testing back ground color as transparent", 100, 100, 300, 50) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) GuiSetState() While 1 $msg = GuiGetMsg() If $msg = $GUI_EVENT_CLOSE then exit Wend And there's a picture attached of the background I'm using... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
Moderators SmOke_N Posted March 1, 2007 Moderators Posted March 1, 2007 Someone else had this exact issue the other day, I don't think a solution was made though. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Achilles Posted March 1, 2007 Author Posted March 1, 2007 Someone else had this exact issue the other day, I don't think a solution was made though.Well, for what it's worth I thought of an adequate solution... Create the checkbox with no text and the size as 13x13 and then create a label next to it... This does prohibit the user from being able to click on the checkbox text and it is also takes some time to align it nicely, but it's better then nothing... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
Moderators SmOke_N Posted March 1, 2007 Moderators Posted March 1, 2007 This might come in handy then:http://www.autoitscript.com/forum/index.ph...st&p=254538 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Achilles Posted March 2, 2007 Author Posted March 2, 2007 This might come in handy then:http://www.autoitscript.com/forum/index.ph...st&p=254538Sweet, thanks SmOke_N', would you have any idea how to make it look like you hovering over the checkbox when you hovering over the label? My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
Achilles Posted March 12, 2007 Author Posted March 12, 2007 Sweet, thanks SmOke_N', would you have any idea how to make it look like you hovering over the checkbox when you hovering over the label?Anyone? My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
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