BCGControlBar Pro for MFC
CString CBCGPWorkspace::GetString ( LPCTSTR  lpszEntry,
LPCTSTR  lpzDefault = _T("") 
)

Retrieves the string data for a specified value field.

Returns
A value's string data if the function succeeded; otherwise lpszDefault.

Use this function to retrieve a string data from the Windows registry. The string data can be previously written to the Windows registry by the WriteString() or WriteSectionString() function.

Note. Call the SetRegistryBase() function to set a root registry key for all subsequent calls to GetString.

Parameters
lpszEntrySpecifies the value field to read from.
lpzDefaultSpecifies the default value to be returned if the specified value field does not exist.