Aceguy Posted November 17, 2007 Share Posted November 17, 2007 hello setting button background with ...GUICtrlSetBkColor($Button4, 0xff0000) to make it red. but how do i undo that.? what is the code for default style GUICtrlSetBkColor($Button4, ?x??????) thanks. [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
_Kurt Posted November 17, 2007 Share Posted November 17, 2007 There are two solutions to this: A) Set the backround to the normal BkColor: GUICtrlSetBkColor($Control, 0xECE9D8)oÝ÷ ضØ^m§$®§vÚÚ«z{pØtß¡ 8³M HðÔÚºÚ"µÍÈÚ[ÛYH ÑÕRPÛÛÝ[Ë]LÉÝÈÉËKH[ÛYHY[ÝH][ÌÎNÝY]ÛHÛÂÕRPÝÙ]ÐÛÛÜ ÌÍÐÛÛÛ ÌÍÑÕRWÐÐÓÓÔÕSÔTS Hope this solves your problem. Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
Aceguy Posted November 18, 2007 Author Share Posted November 18, 2007 Yes TYVM [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
mac1 Posted November 21, 2007 Share Posted November 21, 2007 There are two solutions to this: A) Set the backround to the normal BkColor: GUICtrlSetBkColor($Control, 0xECE9D8)oÝ÷ ضØ^m§$®§vÚÚ«z{pØtß¡ 8³M HðÔÚºÚ"µÍÈÚ[ÛYH ÑÕRPÛÛÝ[Ë]LÉÝÈÉËKH[ÛYHY[ÝH][ÌÎNÝY]ÛHÛÂÕRPÝÙ]ÐÛÛÜ ÌÍÐÛÛÛ ÌÍÑÕRWÐÐÓÓÔÕSÔTS Hope this solves your problem. Kurt I just tried the 0xECE9D8 version and this sets the button to the parent window background color not the original color of the button. $GUI_BKCOLOR_TRANSPARENT version sets it to some dark color... What am I doing wrong? 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