dpaynebrown Posted January 8, 2008 Share Posted January 8, 2008 (edited) Is GUICtrlSetFont supposed to work on a control created with _GUICtrlComboBox_Create? Dim $cboStation = _GUICtrlComboBox_Create( $frmMain, "", 40, 50, 100, 30, BitOR( $CBS_DROPDOWNLIST, $CBS_SORT ) )GUICtrlSetFont( $cboStation, 14, 400, 0, "Tahoma" )If so, the above code is not setting the font. Edited January 8, 2008 by dpaynebrown Link to comment Share on other sites More sharing options...
GaryFrost Posted January 8, 2008 Share Posted January 8, 2008 No SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
dpaynebrown Posted January 8, 2008 Author Share Posted January 8, 2008 Is there a way to set the font or is it simply a matter of going back to the GUICtrlCreateCombo command in this instance?By the way: converting the Auto3Lib functions to these new UDFs must have been taxing, which is probably a massive understatement. But I just began looking at them this morning and gawd ... there's a lot of stuff in there. Downright impressive work. Link to comment Share on other sites More sharing options...
GaryFrost Posted January 8, 2008 Share Posted January 8, 2008 Is there a way to set the font or is it simply a matter of going back to the GUICtrlCreateCombo command in this instance?By the way: converting the Auto3Lib functions to these new UDFs must have been taxing, which is probably a massive understatement. But I just began looking at them this morning and gawd ... there's a lot of stuff in there. Downright impressive work.Thanks.You'll need to probably look at:_WinAPI_CreateFontIndirect _WinAPI_SetFont SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. 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