Removes a toolbar's state from the Windows registry.
- Returns
- Nonzero if successful; otherwise 0.
This function removes a toolbar's state from the Windows registry. Usually, it is called when a user-defined toolbar is being deleted. You should override the RemoveStateFromRegistry member function if you store in the registry some additional state of CBCGPBaseToolBar - derived objects.
- Parameters
-
lpszProfileName | Specifies the registry key where the state is located. |
nIndex | Specifies a toolbar's control ID. |
uiID | Specifies a toolbar's resource ID (can be -1). |