Hi support,
How to define color value as integer?
Example: IIXC_Page.TransparentColor receives a long word - what would be "red" (#ff0000)?
-žarko
IIXC_Page Set_TransparentColor how to define color as integer SOLVED
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
Re: IIXC_Page Set_TransparentColor how to define color as integer
Hi support,
Seems like simple conversion from hex to dec, but do confirm ... ?
Example: #FF00FF (magenta) would be (int) 16711935 .
-žarko
Seems like simple conversion from hex to dec, but do confirm ... ?
Example: #FF00FF (magenta) would be (int) 16711935 .
-žarko
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: IIXC_Page Set_TransparentColor how to define color as integer SOLVED
Hello žarko,
It takes COLORREF as an argument so basically you can pass any color for example in 0xFF00FF format.
Cheers,
Alex
It takes COLORREF as an argument so basically you can pass any color for example in 0xFF00FF format.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
Re: IIXC_Page Set_TransparentColor how to define color as integer
Hi Alex,
Thanks.
-ž
Thanks.
-ž
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: IIXC_Page Set_TransparentColor how to define color as integer
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ