Is it possible to find the chinese window's title by Findwindow() in English windows 2000? 
Please review some code, if available.

解决方案 »

  1.   

    try to
    int GetWindowText( LPTSTR lpszStringBuf, int nMaxCount ) const;ParameterslpszStringBufPoints to the buffer that is to receive the copied string of the window’s title.nMaxCountSpecifies the maximum number of characters to be copied to the buffer. If the string is longer than the number of characters specified in nMaxCount, it is truncated.rStringA CString object that is to receive the copied string of the window’s title.ResCopies the CWnd caption title (if it has one) into the buffer pointed to by lpszStringBuf or into the destination string rString. If the CWnd object is a control, the GetWindowText member function copies the text within the control instead of copying the caption