🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Finding Windows

#17050
From: Keneth Wagner
Date: Fri, 11 Apr 2003 11:53
26 lines
1952 bytes
Sorry but i try what you say and the ID are variables.  At less is what my
Spy tell.  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?


"Remy Lebeau (TeamB)" <gambit47@yahoo.com> schrieb im Newsbeitrag
news:3e959f41$1@newsgroups.borland.com...
>
> "Keneth Wagner" <Keneth_w@msn.com> wrote in message
> news:3e9540f0@newsgroups.borland.com...
> > 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.
>
> The IDs are constant, always the same between executions.  So just use
your
> Spy tool to look them up and then hard-code them into your code.
>
>
> Gambit
>
>
>
Technical Details
Message-ID: <3e96acd7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.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
References: <3e9540f0@newsgroups.borland.com> <3e959f41$1@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:17:12 PST
From: "Keneth Wagner" <Keneth_w@msn.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e9540f0@newsgroups.borland.com> <3e959f41$1@newsgroups.borland.com>
Subject: Re: Finding Windows
Date: Fri, 11 Apr 2003 13:53:28 +0200
Lines: 28
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: <3e96acd7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1050062039 213.157.9.171 (11 Apr 2003 04:53:59 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.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