🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10416

Re: Reading contents from other applications

#10416
From: Bob Gonder
Date: Wed, 28 Apr 2004 16:27
8 lines
1324 bytes
Johan wrote:

>
>Hello,
>I'm trying to read information in a window. My plan is to retrieve the controls windowhandle (which I have succeeded) with, but I don't know how to get the information from the control. 

char	result[1024];
SendMessage(hWnd,WM_GETTEXT,sizeof(result)-1,(LPARAM)result);
Technical Details
Message-ID: <flmv80h87s1blq8th5v174gjifi5rm3veh@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <408f8e76$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,cdce422c83bd1dd
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-04-28 09:39:21 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Reading contents from other applications
Date: Wed, 28 Apr 2004 09:27:42 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <flmv80h87s1blq8th5v174gjifi5rm3veh@4ax.com>
References: <408f8e76$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.160.211.21
X-Trace: newsgroups.borland.com 1083169661 65.160.211.21 (28 Apr 2004 09:27:41 -0700)
Lines: 10
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail