程序怎么获得??
1、找窗口句柄
IntPtr handle = FindWindow("IEFrame", "***网――- Microsoft Internet Explorer"); if (handle.ToInt32()==0).....2、找到后,再找该窗体内的控件(Button登陆) hLogin = FindWindowEx(handle, NULL, "Button", " 登录");