摘要:
此函数是获取控件或者窗口中的文本 代码: TCHAR str1[255]; TCHAR str2[] = L"Hello World"; GetWindowText(hWnd_button, str1, 255); if (_tcscmp(str1, str2) == 0) { //it is ch 阅读全文
posted @ 2020-03-13 17:50
strive-sun
阅读(957)
评论(0)
推荐(0)
摘要:
记录下,用于复现 #include <windows.h> #include <iostream> LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { 阅读全文
posted @ 2020-03-13 10:15
strive-sun
阅读(603)
评论(0)
推荐(0)