Ever see the cool font menus in some editors, well I have come up with a nice way to do it using owner drawn menu items. Not really documented but easy enough to follow, it is written in GoAsm and is in RadASM project format. I have not really adjusted for the font heights so some look a little strange but it is only to demonstrate how you can make your editor look more professional :

Edit: added an edit box to show how it works
Edit: added adjustable font for edit box
Edit: fixed up some fonts not displaying properly
Edit: removed redundant code



I have moved the code to my website:

FontMenu.zip
Posted on 2004-01-16 00:07:25 by donkey
I have removed some redundant code and commented the demo so it is easier for people to use it and modify it if necessary
Posted on 2004-01-17 02:42:59 by donkey

Donkey's Stable


That's for a court appointed Psychiatrist to decide.

:grin: :grin: :grin: :grin: :grin: :grin: :grin: :grin:
Posted on 2004-01-17 13:14:07 by The Worrier King
good work Donkey :) :alright:
Posted on 2004-01-17 16:17:30 by wizzra