|
-
October 7th, 2006, 05:08 AM
#1
Borland + MFC, newb questions
Hi,
First of all I want to apologize if I'm posting this in the wrong forum, and if I'm posting questions that could be found by a simple search (I did search for a long time).
This is what I want to do:
I run a programm (I don't have the source code of the programm), this programm opens windows and has textboxes in these windows. I want to read these textboxes in a c++ programm coded in Borland. After some searching I found out that this can be done using MFC with a SendMessage, WM_GETTEXT command. To find the handle of this window I use FindWindow, and here is were is starts to get blurry. I need to find the handle of the textbox to read the text. I don't know how many textboxes the window has, so I think I can't use FindWindowex and need to use Enumchildwindows.
As you can tell I'm totaly new to MFC, I have a decent understanding of c/c++. Is there a tutorial for MFC that explains really basic stuff (like what is a LPARAM type, and how to use it for instance print it's contents in a console).
Thank in advance,
regards Arthur
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|