Page 1 of 1
IIXC_Page Set_TransparentColor how to define color as integer
Posted: Wed Feb 05, 2020 11:58 am
by zarkogajic
Hi support,
How to define color value as integer?
Example: IIXC_Page.TransparentColor receives a long word - what would be "red" (#ff0000)?
-žarko
Re: IIXC_Page Set_TransparentColor how to define color as integer
Posted: Wed Feb 05, 2020 12:21 pm
by zarkogajic
Hi support,
Seems like simple conversion from hex to dec, but do confirm ... ?
Example: #FF00FF (magenta) would be (int) 16711935 .
-žarko
Re: IIXC_Page Set_TransparentColor how to define color as integer SOLVED
Posted: Wed Feb 05, 2020 1:45 pm
by Sasha - Tracker Dev Team
Hello žarko,
It takes COLORREF as an argument so basically you can pass any color for example in 0xFF00FF format.
Cheers,
Alex
Re: IIXC_Page Set_TransparentColor how to define color as integer
Posted: Wed Feb 05, 2020 2:05 pm
by zarkogajic
Hi Alex,
Thanks.
-ž
Re: IIXC_Page Set_TransparentColor how to define color as integer
Posted: Wed Feb 05, 2020 2:12 pm
by Sasha - Tracker Dev Team