ShellExecuteA()
#include <shellapi.h>
ShellExecuteA(0, "open", "notepad++.exe", "index.html", NULL, SW_SHOWNORMAL);
FindWindow()
#include <winuser.h>
HWND winName = FindWindow(NULL, "計算器");
if (winName != NULL)
{
// 找到視窗
}
else
{
// 未找到視窗
}
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/1840.html
標籤:C++
上一篇:報數
