Solved

Manipulating controls (textbox) from other applications.

Posted on 2006-11-26
4
272 Views
Last Modified: 2007-01-15
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.


0
Comment
Question by:rambo24
4 Comments
 
LVL 1

Author Comment

by:rambo24
ID: 18015558
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
 
LVL 16

Accepted Solution

by:
AlexNek earned 350 total points
ID: 18020222
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question