Contents Index Topic Contents | ||
Previous Topic: TB_REPLACEBITMAP Next Topic: TB_SETANCHORHIGHLIGHT |
TB_SAVERESTORE
TB_SAVERESTORE wParam = (WPARAM) (BOOL) fSave; lParam = (LPARAM) (TBSAVEPARAMS *)ptbsp;Saves or restores the state of the toolbar.
- No return value.
- fSave
- Save or restore flag. If this parameter is TRUE, the information is saved. If it is FALSE, it is restored.
- ptbsp
- Address of a TBSAVEPARAMS structure that specifies the registry key, subkey, and value name for the toolbar state information.
To save and restore a toolbar's settings using the TB_SAVERESTORE message, the parent window of the toolbar control must implement a handler for the TBN_GETBUTTONINFO notification message. The toolbar uses this notification to retrieve information about the buttons as they are read out of the registry.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.