Just in case the title is misleading, I want to know how to add syntax coloring to a rich edit field in my dialog, not turn it on in MSVC++. I have a little program for writing PBASIC for my robot and the local FIRST team, and it would be nice to add syntax coloring for it. I know I worded this vaguely, but I do know that to change the color I need to use SetCharFormat() for something like that with a struct. My question is how to detect and use the colors for words AS THE USER TYPES THEM! For some reason the rich edit box won''t send the NM_CHANGE (?) or NM_UPDATE (?) messages, so I was thinking that maybe OnIdle is the way to go. If someone could supply an idea on how to do this, I think I can handle the rest (I hope... I am new to rich edit controls)
--------------------
You are not a real programmer until you end all your sentences with semicolons;
(c) 2000 ROAD Programming
You are unique. Just like everybody else.
Yanroy@usa.com
Visit the ROAD Programming Website for more programming help.