dmex wrote:keremg wrote:what exactly has to be hooked (API?) and how(API/Window?) on the application?
I'm not too sure, I know the window procedure of the control or application.
Google is your friend

I already did a lot of googling on the topic before asking here and could not find any useful information.

window procedure of the control or application
Only a "window" has a window procedure and not the application itself.
I am pretty sure that this is some RRGGBB structure or DWORD the rtf control is reading from somwhere, eiter system registry/file or out of some memory somewhere in the running OS. Either this is a API Hooking thing or i have to manipulate some place in my processes memory the rtf gets that info from. But i dont know where to start,...
Or this is nearly impossible to do without huge effort,...the "accentuation" is on the two words "huge effort",...