Article View: borland.public.cppbuilder.nativeapi
Article #2399Getting text from an external Grid
From: Dan
Date: Wed, 28 Feb 2007 15:04
Date: Wed, 28 Feb 2007 15:04
11 lines
1347 bytes
1347 bytes
In previous messages I learned how to get test from external edit boxes or labels with GetWindowText or sending the WM_GETTEXT message to the appropriate handle. For external String Grids, those messages don't seem to work. Do I have to get a handle of an object within the stringgrid? Spy++ doesn't seem to find any other handle other than the grid. Am I using the wrong windows message? How can I retrieve text from an external process's stringgrid (actually it's a TxtListCtl per Spy++)?
Technical Details
Message-ID:
<45e59a3a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3d58209a1f02789a,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 28 Feb 2007 09:04:22 -0600 From: Dan <Dan@do.not.spam> User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Getting text from an external Grid Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.174.165.174 Message-ID: <45e59a3a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1172675130 216.174.165.174 (28 Feb 2007 07:05:30 -0800) Lines: 11 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail