摘要:
#include <windows.h>#include <iostream>using namespace std;int main(){ //HWND hWnd = ::FindWindow("Notepad",NULL); HWND hWnd = ::FindWindow(NULL,"a.txt - 记事本"); if(hWnd != NULL) { ::SendM... 阅读全文
摘要:
#include <windows.h>#include <iostream>using namespace std;DWORD WINAPI ThreadProc(LPVOID lpParam){ int i = 0; while(i<20) { cout<<i<<endl; i++; } return 0;}int main(){ HA... 阅读全文