I am writing a Script Editor for my games Scripting Engine, and I need some help. Currently I am using an "Edit Control" or so I have been told. I am creating the text window as follows
hwndEdit = CreateWindow ("edit", NULL,
WS_CHILD | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL |
WS_BORDER | ES_LEFT | ES_MULTILINE |
ES_NOHIDESEL | ES_AUTOHSCROLL | ES_AUTOVSCROLL,
0, 0, 0, 0,
hwnd, (HMENU) EDITID, hInst, NULL) ;
This creates the window fine, but I cannot change the colour, cause the Edit Control only supports black text. I need to use a RichEdit Control, but dont honsetly have a clue how to do this. If you can help it would be greatly appreciated.