Userlib, set text area font. Without blitzes font system.. need help..

BlitzPlus Forums/BlitzPlus Programming/Userlib, set text area font. Without blitzes font system.. need help..

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thanks I will look that up.

This is where i was looking at for reference:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/richedit/richeditcontrols/richeditcontrolreference/richeditmessages/em_setcharformat.asp

And the 1024 + 68 I got from the rich edit header file.
#define EM_SETCHARFORMAT (WM_USER + 68)

WM_USER is
#define WM_USER 0x0400



Blitz already has a function to set the font of a textarea. That was not the problem. The problem is, blitz is incapable of loading certain fonts into its font system.

Try "Roman", "Modern" or "Script" Non of these fonts work (these are all .fon).

What is strange, is that the only .fon font I can get to work using the built in font system, is blitz.fon

That is why I need, and want to bypass blitz's font system for changing a textareas font.