Jump to content

_GUICtrlComboBox_Create


Recommended Posts

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
Link to comment
Share on other sites

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

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

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...