spy++ and VC
用spy++得到continue按钮和FlashFxp顶层窗口的类层次关系,然后用VC编程
找到这个窗口。
调用api FindWindowEx
HWND hWnd;
hWnd=::FindWindowEx(NULL,...);
if (hWnd) hWnd=::FindWindowEx(hWnd,...);
...
最后((CButton *)(CWnd::FromHandle(hWnd)))->EnableWindow(TRUE);
用spy++得到continue按钮和FlashFxp顶层窗口的类层次关系,然后用VC编程
找到这个窗口。
调用api FindWindowEx
HWND hWnd;
hWnd=::FindWindowEx(NULL,...);
if (hWnd) hWnd=::FindWindowEx(hWnd,...);
...
最后((CButton *)(CWnd::FromHandle(hWnd)))->EnableWindow(TRUE);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货