Help Center

CToolbar.SaveRestoremethod

Send this message to initiate saving or restoring a toolbar state.

WindowsmethodCToolbar.incdocumented

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

NameDescription
hToolbarHandle to the toolbar control.
fSaveSave or restore flag. If this parameter is TRUE, the information is saved. If it is FALSE, the information is restored.
ptbspPointer to a TBSAVEPARAMS structure that specifies the registry key, subkey, and value name for the toolbar state information.
tbspA 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