🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

HWND WindowHandle for MDIchild form

#15933
From: Larry Johnson
Date: Mon, 09 Jun 2003 03:10
21 lines
1683 bytes
I need to get the HWND WindowHandle for the Active MDIchild form. How can I
do this? Thanks.



//====HELP FILE INFO=======
Provides access to a window handle for the control.

__property HWND WindowHandle = {read=FHandle, write=FHandle, nodefault};

Description

The WindowHandle property provides access to the same window handle as the
Handle property, but WindowHandle is protected, and therefore only
accessible to code inside the control.

The advantage to using WindowHandle is that it can be written to, while the
Handle property is read-only. Use WindowHandle when implementing methods
that need to change the value of the control�s window handle. Unlike the
Handle property, reading the value of WindowHandle doesn�t automatically
create a valid handle. Reading WindowHandle can return a zero value.
Technical Details
Message-ID: <3ee3fa5a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,7a0c21a9db62cea6,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-08 20:11:20 PST
From: "Larry Johnson" <johnson22@ev1.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: HWND WindowHandle for MDIchild form
Date: Sun, 8 Jun 2003 22:10:45 -0500
Lines: 27
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: 216.40.192.124
Message-ID: <3ee3fa5a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1055128154 216.40.192.124 (8 Jun 2003 20:09:14 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail