SAMPLE: Changing the Parent of a Child Window Using SetParentLast reviewed: April 7, 1997Article ID: Q75001  | 
	
| 
	
 
3.00 3.10
WINDOWS
kbprg kbfile
 The information in this article applies to: 
 PARENT is a sample application in the Microsoft Software Library that demonstrates how to dynamically change the parent of a child window by using the SetParent function. NOTE: This technique is very risky when applied to pop-up windows. Pop-up windows do not have a parent, instead they have an owner, which is a different relationship. Trying to change the parent of a pop-up window can cause the application or Windows to crash. Download PARENT.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services: 
  | 
	
	Additional reference words: 3.00 3.10 softlib PARENT.EXE 
 © 1998 Microsoft Corporation. All rights reserved. Terms of Use.  |