Desktop Functions: Smart Device Functions:
|
SetParent (user32)
C# Signature:
[DllImport("user32.dll")] VB Signature:
Declare Auto Function SetParent Lib "user32" (ByVal hWndChild As IntPtr, ByVal hWndNewParent As IntPtr) User-Defined Types:None. Notes:Use with FindWindow/FindWindowEx to find the window you wish to place in the form as a child. Tips & Tricks:Use this to create forms and then place child windows on it. Sample Code:SetParent(FindWindow(vbnullstring,"notepad.exe"),me.handle) Alternative Managed API:MDIParent and MDIChild do work for interforms. Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|