News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

RAEdit Text Colorization

Started by msmith, May 14, 2006, 05:53:07 AM

Previous topic - Next topic

msmith

Ketil,

I find that I can dynamically change which words in a group will be colorized by rebuilding the string of words and invoking SendMessage with REM_SETHILITEWORDS and it works fine.

If I just want to change the color for a group, I tried invoking SendMessage with REM_SETHILITEWORDS with the old string arg and a new color arg. It does not change.

This makes it appear that I must restart the program for the new color to take effect. I know this is not true because I tried dynamically changing colors of groups on your RadAsm program and it works fine.

What is the secret of how you do this?

Thanks,

Mike

KetilO

Hi

You must first reset all words with SendMessage,hREd,0,0 and then rebuild the words.

KetilO

msmith