🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GetAncestor

#11228
From: Bruce Salzman
Date: Fri, 20 Feb 2004 15:28
30 lines
1431 bytes
> How to find the API function GetAncestor. In the Microsoft dokumentation
is
> but
> in my Borland Builder 3.0 C++ not.
> Anybody knows?

Here is the definition from winuser.h

/*
 * The "real" ancestor window
 */
#define     GA_PARENT       1
#define     GA_ROOT         2
#define     GA_ROOTOWNER    3

WINUSERAPI
HWND
WINAPI
GetAncestor(
    IN HWND hwnd,
    IN UINT gaFlags
);

I also can't find mention of it in the Borland/MS help files that come with
Builder 6.
The MSDN page on it is here http://tinyurl.com/gpvr

HTH,
Bruce
Technical Details
Message-ID: <4036279f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4035e4d7@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a4c8fdbce88db0f0
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-20 07:40:22 PST
From: " Bruce Salzman" <bruce@nospam.org>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4035e4d7@newsgroups.borland.com>
Subject: Re: GetAncestor
Date: Fri, 20 Feb 2004 09:28:29 -0600
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 24.94.231.89
Message-ID: <4036279f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1077290911 24.94.231.89 (20 Feb 2004 07:28:31 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail