Private Declare Function GetWindow Lib "user32" (ByVal hwnd As Long, ByVal wCmd As Long) As Long
Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Const SW_HIDE = 0
Const GW_OWNER = 4
Private Sub Command1_Click()
Dim rc As Long
Dim OwnerhWnd As Long
可以的,但是在进程里面还是可以看得到的,代码如下:
----------------------------------------------------------------------------
Private Declare Function GetWindow Lib "user32" (ByVal hwnd As Long, ByVal wCmd As Long) As Long
Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Const SW_HIDE = 0
Const GW_OWNER = 4
Private Sub Command1_Click()
Dim rc As Long
Dim OwnerhWnd As Long