仙魔录 获知详情,如何获知其他程序的窗口已经显示完毕?

如何获知其他程序的窗口已经显示完毕? - 故障解答 - 电脑教程网

如何获知其他程序的窗口已经显示完毕?

日期:2006-06-29   荐:
如何获知其他程序的窗口已经显示完毕?想在我的程序中调用别人的程序,希望在别人程序的主窗口(标题为"His Window")及其子窗口都显示完毕后,再继续进行自己程序的操作。有什么办法可以获知别人的主窗口和子窗口已经显示完毕吗?希望大家能多多指教。不大清楚不过你可以延迟1S,然后再执行?gt;>?hr>FindWindowThe FindWindow function retrieves the handle to the top-level window whose class name and window name match the specified strings. This function does not search child windows. HWND FindWindow( LPCTSTR lpClassName, LPCTSTR lpWindowName );sleep后再findwindow,确保调用进程的窗口已出现
标签: