Article View: borland.public.cppbuilder.nativeapi
Article #17031Re: Finding Windows
From: Ed Mulroy [TeamB]
Date: Thu, 10 Apr 2003 16:27
Date: Thu, 10 Apr 2003 16:27
21 lines
1861 bytes
1861 bytes
FindWindow only finds top level windows. For child windows use the HWND of the top level window and call EnumChildWindows. . Ed > Keneth Wagner wrote in message > news:3e9540f0@newsgroups.borland.com... > > Hello, i'm trying to make an application works automatic, > receiving orders from my program. I already can get the > other window, minimize, maximize and restore, but i can > not make the destroy event and can not get none buttons > inside the other applicacion. I use the Spy tool comes > with Visual C++ and i can see there all the handles, but > how can i make that???. Im trying to get the buttons with > the same FindWindow, i'm trying to with the GetDlgItem > but for this last function i need the ID of the control and > for obtain it i need the handle of the button. So, can > someone help me or give a north to folllow??? please.
Technical Details
Message-ID:
<3e959b94@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e9540f0@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,56e464a3a8a5bbaa X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-10 09:36:10 PST From: "Ed Mulroy [TeamB]" <ed@mulroyREMOVETHESECHARS.org> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e9540f0@newsgroups.borland.com> Subject: Re: Finding Windows Date: Thu, 10 Apr 2003 12:27:35 -0400 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 24.74.175.102 Message-ID: <3e959b94@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049992084 24.74.175.102 (10 Apr 2003 09:28:04 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail