The goal is: a tooltips window that displays text in multiple
fonts/colors. EX: One word in bold/black, the next in normal/red.
This requires an owner-drawn tooltips, correct? Which means the parent
window will have to hook/intercept the tooltips' paint message,
The question: If this is correct, how are the actual font/color
changes accomplished between two different words of text in the
tooltips? Do we set aside a couple of ASCII (system) characters (for
each font/color), insert them in the string, and parse them out? For
that matter--how do we control how each word is drawn, when we're
processing a hooked paint message? Break up the string? (Probably...
right?) (Another side question: the string isn't sent with the
WM_PAINT message anyway; it's just pixels that are painted...?)
Or, is there an easier way to change the font/color of the text within
the tooltips (using Win32)?
Thanks. It's just that... going to all the trouble of writing code
that might use flawed logic to begin with would suck--especially if
someone here already invented the wheel :-)
Thanks for any help.
Programmer/Hobbyist (since the teletype)