Jump to content

Set underline without specifying font size and weight?


Recommended Posts

Maybe WM_SETFONT can do that (in conjuction with CreateFont) ...

Thanks Zedna, but as I understand it, the Windows Message Codes are used to handle events received from Windows. Is there a way to send a message to a control to change the font settings, apart from GUICtrlSetFont() ?

Best regards

Nick

Edited by Nick Duffill
Link to comment
Share on other sites

Is it possible to set the underline attribute on a label control, without also specifying the font size and weight? I would like them to remain as the system defaults, but apply the underline.

Best regards

Nick

If the label is on a gui you've crated then:

GuiCtrlSetFont($myLabel,default,default,4)

Edit: nevermind, didn't read you're whole reply to Zedna

Is there a way to send a message to a control to change the font settings, apart from GUICtrlSetFont() ?

Edited by ResNullius
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...