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