Solved

Manipulating controls (textbox) from other applications.

Posted on 2006-11-26
4
288 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Starting up a Project

707 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