HWND hWnd = FindWindow(L"SandMap (64-bit, PCD3D_SM5))", NULL);//获取窗口句柄 SetWindowLong(hWnd, GWL_STYLE, WS_VISIBLE);//隐藏边框 MoveWindow(hWnd, PosX, PosY, 800, 800, true);//设置位置及分辨率
2025-12-13 14:59:48 615KB 获取窗口句柄 窗口标题 进程ID 窗口ID
1