CWnd::FromHandlePermanent ——根据窗口句柄得到CWnd*指针 This function, unlike FromHandle, does not create temporary objects. CWnd::FromHandle——根据窗口句柄得到CWnd*指针 CWnd* PASCAL CWnd::FromHandle(HWND hWnd){ CHandleMap* pMap = afxMapHWND(TRUE); //create map if not exis