读书人

枚举某个历程的所有子窗口求份代码

发布时间: 2013-10-02 13:10:38 作者: rapoo

枚举某个进程的所有子窗口,求份代码
根据进程的ID,获得该进程的所有子窗口。要求VC,给个函数吧 窗体
[解决办法]
The EnumThreadWindows function enumerates all nonchild windows associated with a thread by passing the handle to each window, in turn, to an application-defined callback function. EnumThreadWindows continues until the last window is enumerated or the callback function returns FALSE. To enumerate child windows of a particular window, use the EnumChildWindows function.

读书人网 >VC/MFC

热点推荐