Posted on 2006-10-23
I've created a richedit control using the following code:
TitleBoxWindow := Createwindow('RICHEDIT20a','',TitleBoxStyles,TbX, TbY,TbX, Tby-4,ParentWindow,0,hinstance,Nil);
The control creates ok, and I can put text in it, but I need to format selected text and Delphi doesn't recognize the "em_getcharformat" message, or the "tcharformat" type. Any ideas what I'm doing wrong?