Você está na página 1de 1

Makes your form a child of another window

Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpCla
ssName As String, ByVal lpWindowName As String) As Long
Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal h
Wnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String)
As Long
Public Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal h
WndNewParent As Long) As Long
--
Dim
--
Call SetParent(Me.hWnd, *)

Você também pode gostar