帮忙看一下,谢谢!
void __fastcall TForml::FormCreate(TObject *Sender){
HWND hCurWindows,HC,HE;
if((hCurWindows=FindWindows(NULL,"QQ用户登录"))!=0 || (hCurWindows=FindWindows(NULL,"OICQ用户登录"))!=0)
{
String str;
str.sprintf("0x%x",hCurWindows);
}
TCHAR wClassName[255];
HC=GetWindows(hCurWindows,GW_CHILD);
HE=GetWindows(HC,GW_HWNDNEXT);
GetClassName(HE,wClassName,sizeof(wClassName));
GetClassName(HC,wClassName,sizeof(wClassName));
EnableWindows(HE,false);
EnableWindows(HC,false);
}
这代码是什意思啊?
讲解讲解!谢谢!