The TB_SAVERESTORE message saves or restores the state of the toolbar.
TB_SAVERESTORE wParam = (WPARAM) (BOOL) fSave; lParam = (LPARAM) (TBSAVEPARAMS *)ptbsp;
No return value.
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.