[QUOTE](子)窗口是属于线程的.
得到窗口 handle 的方法很多
FindWindow, FindWindowEx;
WindowFromPoint, ChildWindowFromPoint, ChildWindowFromPointEx;
EnumWindows, EnumChildWindows;
CreateToolhelp32Snapshot, Process32First, Process32Next, Thread32First, Thread32Next, EnumThreadWindows;
WindowFormDC
...........
......
.....[/QUOTE]
谢谢,
API我还没怎么掌握,ChildWindowFromPoint看起来可以,我试试。