Windows API宏,在WinUser.h中根据是否已定义Unicode被分别定义为GetWindowTextW和GetWindowTextA。该函数将指定窗口的标题条文本(如果存在)拷贝到一个缓存区内。如果指定的窗口是一个控件,则拷贝控件的文本。但是,GetWindowText可能无法获取外部应用程序...详情
2018年11月20日 int GetWindowText( HWND hWnd, LPTSTR lpString, int nMaxCount ); Parameters hWnd [in] Handle to the window or control containing the text. lpString ...