CToolBarCtrl::RestoreState
voidRestoreState(HKEYhKeyRoot**,LPCTSTRlpszSubKey,LPCTSTRlpszValueName);**
Parameters
hKeyRoot
Identifies a currently open key in the registry or any of the following predefined reserved handle values:
HKEY_CLASSES_ROOT
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS
lpszSubKey
Points to a null-terminated string containing the name of the subkey with which a value is associated. This parameter can be null or a pointer to an empty string. If the parameter is NULL, the value will be added to the key identified by the hKeyRoot parameter.
lpszValueName
Points to a string containing the name of the value to retrieve. If a value with this name is not already present in the key, the function adds it to the key.
Remarks
Call this function to restore the state of the toolbar control from the location in the registry specified by the parameters.
CToolBarCtrl Overview | Class Members | Hierarchy Chart
See Also CToolBarCtrl::SaveState