请问 CComBox::GetLBText该如何使用啊?
能举个例子吗? 怎么用GetLBText得到ComboBox里面的字符串?
还有请问 LPTSTR 和 LPCTSTR 这些是什么类型?
[解决办法]
LPTSTR An LPWSTR if UNICODE is defined, an LPSTR otherwise.
This type is declared in WinNT.h as follows:
#ifdef UNICODE
typedef LPWSTR LPTSTR;
#else
typedef LPSTR LPTSTR;
#endif
===============
LPCTSTR An LPCWSTR if UNICODE is defined, an LPCSTR otherwise.
This type is declared in WinNT.h as follows:
#ifdef UNICODE
typedef LPCWSTR LPCTSTR;
#else
typedef LPCSTR LPCTSTR;
#endif