1个回答
展开全部
Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Sub Form_Load()
SetParent Me.HWnd, FindWindow(vbNullString, "Program Manager")
End Sub
很容易有木有,只用两个API函数就实现了。
追问
那么win8似乎不可以,窗体都不见了。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询