首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

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

2013-10-02 
枚举某个进程的所有子窗口,求份代码根据进程的ID,获得该进程的所有子窗口。要求VC,给个函数吧窗体[解决办法

枚举某个进程的所有子窗口,求份代码
根据进程的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. 

热点排行