BCGControlBar Pro for MFC
BOOL CBCGPWorkspace::WriteObject ( LPCTSTR  lpszEntry,
CObject &  obj 
)

Stores CObject - derived object data in a specified value field.

Returns
If successful, returns nonzero; otherwise 0.
Parameters
lpszEntrySpecifies the value field to be set.
objSpecifies the data to be stored.