EnumChildWindows |
| VB聲明 | |
| Declare Function EnumChildWindows Lib "user32" Alias "EnumChildWindows" (ByVal hWndParent As Long, ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long | |
| 說(shuō)明 | |
| 為指定的父窗口枚舉子窗口 | |
| 返回值 | |
| Long,非零表示成功,零表示失敗 | |
| 參數表 | |
| 參數 | 類(lèi)型及說(shuō)明 |
| hWndParent | Long,欲枚舉子窗口的父窗口的句柄 |
| lpEnumFunc | Long,為每個(gè)子窗口調用的函數的指針。用AddressOf運算符獲得函數在一個(gè)標準模塊中的地址 |
| lParam | Long,在枚舉期間,傳遞給dwcbkd32.ocx定制控件之EnumWindows事件的值。這個(gè)值的含義是由程序員規定的。(原文:Value that is passed to the EnumWindows event of the dwcbkd32.ocx custom control during enumeration. The meaning of this value is defined by the programmer.) |
| 注解 | |
在vb4下要求dwcbkd32.ocx定制控件。子窗口下屬的子窗口也可由這個(gè)函數枚舉 | |
聯(lián)系客服