Jump to content

The answer is prolly sooo simple, ;)


Aceguy
 Share

Recommended Posts

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.

Link to comment
Share on other sites

There are two solutions to this:

A) Set the backround to the normal BkColor:

GUICtrlSetBkColor($Control, 0xECE9D8)oÝ÷ ضØ^$®§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

There are two solutions to this:

A) Set the backround to the normal BkColor:

GUICtrlSetBkColor($Control, 0xECE9D8)oÝ÷ ضØ^$®§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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...