HWND FindWindow(lpWindowName [in] Pointer to a null-terminated string that specifies the window name (the window's title). If this parameter is NULL, all window names match.
LPCTSTR lpClassName, LPCTSTR lpWindowName );
HWND hWnd =::FindWindow(NULL,"计算器"); //得到窗口句柄