Windows EditText Control Colouring

I am currently making a programming language, and I've almost finished it. I've got this window control defined in a resource script which is as follows:
1
2
EDITTEXT IDC_EDIT_SCRIPT_CONTENTS, 10, 30, 280, 220, WS_VSCROLL | WS_HSCROLL |
ES_LEFT | WS_BORDER | WS_TABSTOP | ES_MULTILINE | ES_WANTRETURN

So, I was looking at that control and then I thought about doing something that all code editors do: Make keywords (and such) turn a different colour. I have no clue how to do this! *laughs*
Please may someone point me in the right direction please!
Thanks
Standard win32 Edit control doesn't support text coloring. You should consider using:
- win32 RichEdit (http://msdn.microsoft.com/en-us/library/windows/desktop/bb787605%28v=vs.85%29.aspx)
- creating custom win32 component

or using excising edit component with syntax highlighting support:
- http://www.scintilla.org/
- http://www.codeproject.com/Articles/3201/Brainchild-A-syntax-coloring-edit-control
- http://www.codeproject.com/Articles/272/Crystal-Edit-syntax-coloring-text-editor
Thanks!
Topic archived. No new replies allowed.