Article View: borland.public.cppbuilder.nativeapi
Article #17048Re: Finding Windows
From: Keneth Wagner
Date: Fri, 11 Apr 2003 11:54
Date: Fri, 11 Apr 2003 11:54
31 lines
2338 bytes
2338 bytes
Now i using EnumChildWindow and is ok, but i still have problems when i try to make diference between components. I mean, i have in the other program two toolbars, but i don't know which is what i want, and even i don't know how to get a button inside a tool bar. do I have to create another EnumChildWindow for the handle of the Toolbar? "Ed Mulroy [TeamB]" <ed@mulroyREMOVETHESECHARS.org> schrieb im Newsbeitrag news:3e959b94@newsgroups.borland.com... > 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:
<3e96ad0d@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e9540f0@newsgroups.borland.com> <3e959b94@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-11 05:16:44 PST From: "Keneth Wagner" <Keneth_w@msn.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e9540f0@newsgroups.borland.com> <3e959b94@newsgroups.borland.com> Subject: Re: Finding Windows Date: Fri, 11 Apr 2003 13:54:22 +0200 Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 213.157.9.171 Message-ID: <3e96ad0d@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1050062093 213.157.9.171 (11 Apr 2003 04:54:53 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail