Jump to content
Sign in to follow this  
dpaynebrown

_GUICtrlComboBox_Create

Recommended Posts

dpaynebrown

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 by dpaynebrown

Share this post


Link to post
Share on other sites
dpaynebrown

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.

Share this post


Link to post
Share on other sites
GaryFrost

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.

 

Share this post


Link to post
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
Sign in to follow this  

×