Xiodrade Posted May 22, 2012 Share Posted May 22, 2012 (edited) Currently attempting to change the color of the title in my GUI Window. I'm using guiSetProperty( IMw, "CaptionColour", tocolor( 255, 0, 0 ) ) Unfortunately I don't believe that is the correct way to use it. It should provide a red color, but instead it provides a pink color. The property it outputs is FFF9AACA which is an ARGB for 255 A, 249 R, 170 G, 202 B. That makes no sense considering I put 255, 0, 0. --Same color as my title So why is it using FF9AACA instead of FF0000? Am I using the property wrong? EDIT - NVM this post, I was just being an idiot. Works with guiSetProperty( IMw, "CaptionColour", "FFFF0000" ) Edited May 22, 2012 by Guest Link to comment
Cadu12 Posted May 22, 2012 Share Posted May 22, 2012 Try use "0xff0000" or "0xffff0000" (remove tocolor) Link to comment
Xiodrade Posted May 22, 2012 Author Share Posted May 22, 2012 Try use "0xff0000" or "0xffff0000" (remove tocolor) That doesn't work I got it to work with FFFF0000. Tried it multiple times before and it wasn't working, guess I was forgetting a 0 or something the other times. Works now though, Thanks for the help. Link to comment
Cadu12 Posted May 22, 2012 Share Posted May 22, 2012 No problem. I didn't tested, sorry 0xffffff is only for C++, I guess Link to comment
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