mfc獲取其它程序窗口句柄

const char *getWindowTitle(HWND hWnd){ char WindowTitle[1000]={0}; ::GetWindowText(hWnd,WindowTitle,1000); std::string *title = new std::string(WindowTitle); return (*title).c_str();
相關文章
相關標籤/搜索