HWND hWnd =::FindWindow(NULL,"计算器"); //得到窗口句柄
HWND FindWindow(
LPCTSTR lpClassName,
LPCTSTR lpWindowName
);
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.