CToolbar.SaveRestoremethod
Send this message to initiate saving or restoring a toolbar state.
Syntax
SUB SaveRestore (BYVAL hToolbar AS HWND, BYVAL fSave AS LONG, BYVAL ptbsp AS TBSAVEPARAMSW PTR)
SUB SaveRestore (BYVAL hToolbar AS HWND, BYVAL fSave AS LONG, BYREF tbsp AS TBSAVEPARAMSW)
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
fSave | Save or restore flag. If this parameter is TRUE, the information is saved. If it is FALSE, the information is restored. | |
ptbsp | Pointer to a TBSAVEPARAMS structure that specifies the registry key, subkey, and value name for the toolbar state information. | |
tbsp | A TBSAVEPARAMS structure that specifies the registry key, subkey, and value name for the toolbar state information. |
Description
Send this message to initiate saving or restoring a toolbar state.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:1006
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class