🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Child object analysis

#10616
From: Henk
Date: Wed, 31 Mar 2004 20:34
22 lines
1509 bytes
Hello,

I use 'EnumChildWindows' retrieving a list of handles to Child objects.

With 'Spy++' application I see some additional comments behind Child objects
like 'ToolbarWindow32'.

- How do I retrieve this info from a Child, or detect otherwise it's a
toolbar?
- Is it possible to control an application toolbar button after getting
buttoninfo by using TB_GETBUTTON or TB_GETBUTTONINFO messages?

as ... When using TB_GETBUTTON/TB_GETBUTTONINFO with the
TBBUTTON/TBBUTTONINFO structures passed by pointer NO
data is put into these structures.

Using '1' as iID
(example: SendMessage(MYTOOLBARHANDLE,TB_GETBUTTONINFO,iID,LPTBBUTTONINFO);)

Thanks.

Henk
Technical Details
Message-ID: <406b2b5d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,47cffde18daacaf0,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-31 12:40:21 PST
From: "Henk" <h.van.winkoop@wxs.nl>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Child object analysis
Date: Wed, 31 Mar 2004 22:34:36 +0200
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
NNTP-Posting-Host: 62.131.145.60
Message-ID: <406b2b5d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1080765277 62.131.145.60 (31 Mar 2004 12:34:37 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail