Manipulating controls (textbox) from other applications.

Pretty much as the title states.
My main objective is to change the font of the text in an external application's text box control, and change the color of select words. (Somewhat incorporating syntax-highlighting).
I'm having some difficulty accomplishing this, if anyone particularly can aid me that would be great.

SO far I've been using SendMessage() with WM_SETFONT with no luck, or maybe my method is incorrect. I've tried using CreateFontIndrect() with the LogFont Structure to receive the handle of my specified font, with no success.
As for changing the colors of select words, how would I go about doing that if the control doesn't support RTF.. or other methods?
 If anyone can enlighten me on these issues that would be awesome.


LVL 1
rambo24Asked:
Who is Participating?
 
AlexNekConnect With a Mentor Commented:
0
 
rambo24Author Commented:
On a side note, I am conducting this project in VB 6.0, and the external application is a MDI MFC application written in VC++.
0
All Courses

From novice to tech pro — start learning today.