Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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