Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves a toolbar string.
int GetString(
int nString,
LPTSTR lpstrString,
int cchMaxLen
) const;
int GetString(
int nString,
CString& str
) const;
Parameters
nString
Index of the string.lpstrString
Pointer to a buffer used to return the string.cchMaxLen
Length of the buffer in bytes.str
The string.
Return Value
The length of the string if successful, -1 if not.
Remarks
This member function implements the behavior of the Win32 message TB_GETSTRING, as described in the Windows SDK.
Requirements
Header: afxcmn.h