MFC를 이용한 카카오톡에 글쓰기
CWnd* hd01 = FindWindow(NULL, _T("test")); ::ShowWindow(hd01->GetSafeHwnd(), SW_SHOWNORMAL); CWnd* hd02, * hd03, * hd04, * hd05; hd02 = FindWindowEx(hd01->GetSafeHwnd(), NULL, _T("RichEdit20W"), NULL); hd03 = FindWindowEx((HWND)hd01, NULL, _T("EVA_VH_ListControl"), NULL); Sleep(150); if (hd01 != NULL) { CString str = sMessage; str.Format("%s", sMessage); LPWSTR lpszW = new WCHAR[255]; LPTSTR lpS..
2019. 7. 29.