Article View: borland.public.cppbuilder.nativeapi
Article #2420Re: Getting text from an external Grid
From: Remy Lebeau (TeamB)
Date: Fri, 02 Mar 2007 17:48
Date: Fri, 02 Mar 2007 17:48
18 lines
2010 bytes
2010 bytes
"Dan" <Dan@do.not.spam> wrote in message news:45e83813$1@newsgroups.borland.com... > Well.. I have changed the code from HANDLE to HWND; same results. Did you notice the other change I pointed out? > Will I have the same problem with a MenuItem type control? > Is there a way to automate that from an external app? Menus are much easier to automate, as there are several menu-related window messages available. The easiest one is to simply send WM_COMMAND to the menu's parent window, specifying the ID of the item you wish to execute. You don't need to actually drop the menu down and select the item manually beforehand. Gambit
Technical Details
Message-ID:
<45e864bf$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45e59a3a$1@newsgroups.borland.com> <45e5bb7e$1@newsgroups.borland.com> <45e5cfa5$1@newsgroups.borland.com> <45e5f6d3@newsgroups.borland.com> <45e5fd07$1@newsgroups.borland.com> <45e60f88$1@newsgroups.borland.com> <45e6f2f0$1@newsgroups.borland.com> <lnvdu29ua6a88fpbfof4eu9pb4d7t42pm4@4ax.com> <45e72444$1@newsgroups.borland.com> <45e733b3$1@newsgroups.borland.com> <45e73ae4@newsgroups.borland.com> <45e7425f$1@newsgroups.borland.com> <45e75113$1@newsgroups.borland.com> <45e75811$1@newsgroups.borland.com> <45e83813$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3d58209a1f02789a X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <45e59a3a$1@newsgroups.borland.com> <45e5bb7e$1@newsgroups.borland.com> <45e5cfa5$1@newsgroups.borland.com> <45e5f6d3@newsgroups.borland.com> <45e5fd07$1@newsgroups.borland.com> <45e60f88$1@newsgroups.borland.com> <45e6f2f0$1@newsgroups.borland.com> <lnvdu29ua6a88fpbfof4eu9pb4d7t42pm4@4ax.com> <45e72444$1@newsgroups.borland.com> <45e733b3$1@newsgroups.borland.com> <45e73ae4@newsgroups.borland.com> <45e7425f$1@newsgroups.borland.com> <45e75113$1@newsgroups.borland.com> <45e75811$1@newsgroups.borland.com> <45e83813$1@newsgroups.borland.com> Subject: Re: Getting text from an external Grid Date: Fri, 2 Mar 2007 09:48:35 -0800 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 75.83.34.171 Message-ID: <45e864bf$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1172858047 75.83.34.171 (2 Mar 2007 09:54:07 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail