Re: how to change Z-orders of Windows
- From: Tom Esh <tjeshGibberish@xxxxxxxxxx>
- Date: Tue, 25 Apr 2006 03:25:40 -0400
On Tue, 25 Apr 2006 07:54:53 +0200, "Mark Yudkin"
<myudkinATcompuserveDOTcom@xxxxxxxxxxxxxx> wrote:
Using SetWindowLong for GWL_HWNDPARENT is documented as a DO NOT DO:
<quote>
You must not call SetWindowLong with the GWL_HWNDPARENT index to change the
parent of a child window. Instead, use the SetParent function.
</quote>
See my previous mail.
Note that warning only applies to child windows (controls). For
top-level windows (Forms) it changes the owner, not the parent.
-Tom
MVP - Visual Basic
(please post replies to the newsgroup)
.
- References:
- how to change Z-orders of Windows
- From: Cobalt
- Re: how to change Z-orders of Windows
- From: Mark Yudkin
- Re: how to change Z-orders of Windows
- From: Cobalt
- Re: how to change Z-orders of Windows
- From: Mark Yudkin
- how to change Z-orders of Windows
- Prev by Date: Re: winxp hibernate
- Next by Date: Re: InternetReadFileEx
- Previous by thread: Re: how to change Z-orders of Windows
- Next by thread: How to get the correct classID and Version of an ActiveX Exe
- Index(es):
Relevant Pages
|