You are on page 1of 1

Sets the window as a child of your form

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)

You might also like