Jump to content

Different font styles in same combo box?


Recommended Posts

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

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