reyas Posted March 25, 2009 Posted March 25, 2009 (edited) hey guys i want to code a little music player and i want to have a design in my gui. so i cant use the label function cuz it makes an annoying background around the text. does anyone of you know how to make it invisible or to delete it. so far reyas Edited March 25, 2009 by reyas
BigDod Posted March 25, 2009 Posted March 25, 2009 Use extended style $WS_EX_TRANSPARENT Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
GEOSoft Posted March 25, 2009 Posted March 25, 2009 Set the background image state to $GUI_DISABLED George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
reyas Posted March 25, 2009 Author Posted March 25, 2009 ;=========================================================================== ; Function : _BKColor( backgroundcolor, controlID, textcolor ) ; Description : Sets the background color of a control. (Transparent Label) ; : Sets the text color of a control. ; Author : Thunder-man (Frank Michalski) ; Date : 19. September 2007 ; Version : V 1.20 ; Example : _BKColor() :Transparent ; _BKColor( -1, $MyLabel) :Transparent ; _BKColor(0x00ff00) :Color Green ; _BKColor(0x00ff00, $MyLabel) :Color Green ; _BKColor( -1, $MyLabel, 0x00ff00) :Text Color Green ;=========================================================================== Func _BKColor($BackColor_ = "", $GuiID_ = -1, $Textcolor_ = 0x000000) If $BackColor_ = "" or $BackColor_ = -1 Then GUICtrlSetBkColor($GuiID_, $GUI_BKCOLOR_TRANSPARENT) GUICtrlSetColor($GuiID_, $Textcolor_) Else GUICtrlSetBkColor($GuiID_, $BackColor_) GUICtrlSetColor($GuiID_, $Textcolor_) EndIf EndFunc ;==>_BKColor ;======================================================================= found it in the german autoit board. and it works thx to all who wanted to help me
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