函数的定义:HWND WINAPI FindWindow(LPCSTR lpClassName ,LPCSTR lpWindowName);
Wnd=FindWindow(NULL,"M.txt - 记事本");
SendMessage(Wnd,WM_CLOSE,0,0);
函数定义:LRESULT SendMessage(HWND hWnd,UINT Msg,WPARAM wParam,LPARAM IParam)
Wnd=FindWindow(NULL,"M.txt - 记事本");
SendMessage(Wnd,WM_CLOSE,0,0);
函数定义:LRESULT SendMessage(HWND hWnd,UINT Msg,WPARAM wParam,LPARAM IParam)