Jump to content

Recommended Posts

Posted (edited)

Is it possible to have different fonts (really diff styles) in the same combo box? I want to make one that looks something like this:

Network Problems

Email not working

Internet not working

Cannot Print

Software problems

Chancery not working properly

etc, etc

Can you use GUICtrlSetfont to somehow do this? Thanks in advance,

Edited by grunewald6
Posted

C'mon guys. No takers? This forum hasn't failed me yet.

I can't get _GUICtrlComboBoxEx_SetItemIndent working. How can I use rich text in AutoIT? Any suggestions are welcome. TIA,

Posted (edited)

Dim $hRich = _WinAPI_CreateWindowEx(0, 'RichEdit20W', 'foobar...', BitOR($ES_MULTILINE, $WS_VISIBLE, $WS_CHILD, $WS_BORDER, $WS_TABSTOP), 0, 0, 200, 400, $hGUI)

About the mixture of text styles in the same ComboBox, I believe it can be done using an owner-drawn ComboBox. Search the MSDN or google it as there are enough resources about this topic.

Edit: I don't know if it'll work as it requires to link to the riched20.dll library but I think it should.

Edited by Authenticity

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
×
×
  • Create New...