摘要:
HDC hdc = ::GetDC(m_hWnd); LOGFONT lf = { 0 }; lf.lfWeight = 16; //平均宽度 lf.lfHeight = 40;//字体高度 lf.lfCharSet = GB2312_CHARSET;//字符集 lstrcpy(lf.lfFaceN 阅读全文
posted @ 2023-04-26 21:02
天子骄龙
阅读(251)
评论(0)
推荐(0)
摘要:
HDC hdc = ::GetDC(m_hWnd); LOGFONT lf = { 0 }; lf.lfWeight = 16; //平均宽度 lf.lfHeight = 40;//字体高度 lf.lfCharSet = GB2312_CHARSET;//字符集 lstrcpy(lf.lfFaceN 阅读全文
posted @ 2023-04-26 15:24
天子骄龙
阅读(31)
评论(0)
推荐(0)
摘要:
HDC hdc = ::GetDC(m_hWnd); LOGFONT lf = { 0 }; lf.lfWeight = 16; //平均宽度 lf.lfHeight = 40;//字体高度 lf.lfCharSet = GB2312_CHARSET;//字符集 lstrcpy(lf.lfFaceN 阅读全文
posted @ 2023-04-26 15:18
天子骄龙
阅读(182)
评论(0)
推荐(0)
摘要:
HDC hdc = ::GetDC(m_hWnd); LOGFONT lf = { 0 }; lf.lfWeight = 16; //平均宽度 lf.lfHeight = 40;//字体高度 lf.lfCharSet = GB2312_CHARSET;//字符集 lstrcpy(lf.lfFaceN 阅读全文
posted @ 2023-04-26 15:04
天子骄龙
阅读(343)
评论(0)
推荐(0)
摘要:
HWND hWnd = ::FindWindow(_T("Notepad"), NULL);//获取记事本窗口 if (!hWnd) { AfxMessageBox(_T("请打开记事本")); ExitProcess(0); } BOOL b = ::SetWindowPos(hWnd, HWND 阅读全文
posted @ 2023-04-26 10:48
天子骄龙
阅读(1005)
评论(0)
推荐(0)
摘要:
HWND hWnd = ::FindWindow(_T("Notepad"), NULL);//获取记事本句柄 if (!hWnd) { AfxMessageBox(_T("请打开记事本")); ExitProcess(0); } CString str; str.Format(_T("记事本句柄h 阅读全文
posted @ 2023-04-26 09:18
天子骄龙
阅读(180)
评论(0)
推荐(0)
摘要:
//GetTopWindow HWND hWnd = ::FindWindow(_T("#32770"), _T("测试程序")); if (!hWnd) { AfxMessageBox(_T("请打开测试程序")); ExitProcess(0); } CString str; str.Forma 阅读全文
posted @ 2023-04-26 08:58
天子骄龙
阅读(413)
评论(0)
推荐(0)

浙公网安备 33010602011771号