IsChild

VB声明
Declare Function IsChild Lib "user32" Alias "IsChild" (ByVal hWndParent As Long, ByVal hwnd As Long) As Long
说明
判断一个窗口是否为另一窗口的子或隶属窗口
返回值
Long,非零表示成功,零表示失败
参数表
参数 类型及说明
hWndParent Long,父窗口的句柄
hwnd Long,欲测试的窗口的句柄