Nick Duffill Posted August 8, 2007 Posted August 8, 2007 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
Zedna Posted August 8, 2007 Posted August 8, 2007 (edited) Maybe WM_SETFONT can do that (in conjuction with CreateFont) ... Edited August 8, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
Nick Duffill Posted August 9, 2007 Author Posted August 9, 2007 (edited) 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 regardsNick Edited August 9, 2007 by Nick Duffill
ResNullius Posted August 9, 2007 Posted August 9, 2007 (edited) 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 August 9, 2007 by ResNullius
Zedna Posted August 9, 2007 Posted August 9, 2007 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 regardsNickLook here - for example of using WM_SETFONT Resources UDF ResourcesEx UDF AutoIt Forum Search
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