I'm searching to build a list of system fonts (just the list I get resuls, even if not in alphabetic order), but I would have their rendering in the list instead of just their name.
Like this :
I found some examples, but they are for VB.NET ou VS2008
Pretty sure there's no way around having to owner draw it. You could likely use CBS_OWNERDRAWVARIABLE at least, rather than the other owner draw style, to draw individual items.
You could get away with a slightly simpler method by blocking the regular dropdown and dropping down a ListView instead, where it's fairly easy to use NM_CUSTOMDRAW to set the font per-item. But that has it's own issues.
Thanks for your aswers.
Also, I tried the yokesee's zip but looks not easy to customise, plus I need to programmatiocaly change the "Select" word, when I change the application language (Jingle Palette). I need also (it's true I didn't precised this in my first message) to programmaticaly select a value. I mean, if I previously set the "Courrier" font, when I re-open the app and going in the settings, the "Courrier" font has to be already selected. Also, all fonts are not listed , and no more fonts after Microsoft YaHei UI
About dz32 frm file, I don't understand, when I add it to a text project, it appears in the Modules list instead of Forms list.
Also, convert to VB.NET is not conceivable at all lol
I made a workaround that changing the font a buttons directly when I change the selected font from the simple list, without having to close the Settings window.
It's not a super workaround but better than nothing.
Just have to fix a problem that I have when I order ASC the font list, some fonts disappear. Perhaps I will open a new thread about sorting arrays.