binhnx Posted September 26, 2014 Share Posted September 26, 2014 Hi, I'm using GUICtrlSetFont() to set the font of a label control in my GUI. I only need to set it to bold font. All other font params should be OS default. So I am currently using : GUICtrlSetFont(-1, 9, 600) It's NOT WORK!!! The font used is NOT the currently OS setting. Instead, it's the LAGACY FONT often used in LAGACY APPLICATION, without CommonControls!!! And this font is NOT ANTIALIASED definitely!!! Set quality parameter to 4 ($ANTIALIASED_QUALITY), not works Set quality parameter to every other possible, not works So, I wonder how I can archive my goal. Do NOT tell me that I need to hard code the font used in the GUI!!! 99 little bugs in the code 99 little bugs! Take one down, patch it around 117 little bugs in the code! Link to comment Share on other sites More sharing options...
Solution binhnx Posted September 26, 2014 Author Solution Share Posted September 26, 2014 OK, sorry about this post. It's my fault!!! The font weight should be 700 (default bold), not 600. 99 little bugs in the code 99 little bugs! Take one down, patch it around 117 little bugs in the code! Link to comment Share on other sites More sharing options...
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