注册 登录
编程论坛 C++ Builder

帮忙看一下,谢谢!

渴望者 发布于 2013-12-08 22:36, 3843 次点击
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);
}
         这代码是什意思啊?
        讲解讲解!谢谢!
0 回复
1