Solved

getting the caption from an edit box

Posted on 1999-01-19
1
172 Views
Last Modified: 2013-11-20
Does anyone know how to get the text from within an edit box from an outside application??  I can get the handle to the window adn then get the handle to the edit box...but getting the text that is in there is another story.  Thanks.  Sorry this only for 50 points...its all i have.
0
Comment
Question by:meetze
1 Comment
 
LVL 3

Accepted Solution

by:
plaroche earned 50 total points
ID: 1327985
Try using the WM_GETTEXT message:

CWnd* pWnd = your edit;
TCHAR buffer[200];

pWnd->SendMessage(WM_GETTEXT, (WPARAM)200, (LPARAM)buffer);
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need Help INsttalling wget on Mavericks OS X 3 90
Expand LInux Boot partition remotly 3 86
Unix / Linux grid computing 5 149
ODBC Connection Logging, ADO.NET 6 56
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now