Page 1 of 1

How to #CCM_SETBKCOLOR for Button ?

Posted: Thu May 16, 2024 9:50 pm
by millie78526
TIA...:
How to #CCM_SETBKCOLOR for Button ?
I see this Example by Andre 2003
SendMessage_(GadgetID(9),#CCM_SETBKCOLOR,0,RGB(60,50,0))
that colors a ProgressBar .
Is there one for Button ?
Thanks...

Re: How to #CCM_SETBKCOLOR for Button ?

Posted: Thu May 16, 2024 10:11 pm
by boddhi
Hello,

It's not possible to change front and backcolor for buttons. It's why PB doesn't propose it.
You have to create them by yourself. Various possibilities to do that.

Re: How to #CCM_SETBKCOLOR for Button ?

Posted: Fri May 17, 2024 12:02 am
by AZJIO

Re: How to #CCM_SETBKCOLOR for Button ?

Posted: Fri May 17, 2024 10:53 am
by BarryG
I just use ButtonImageGadgets() because it's easier and less code.