XLL+ Class Library (6.3)

CXlActiveBookRestorer::CXlActiveBookRestorer

Constructs a CXlActiveBookRestorer object

CXlActiveBookRestorer(
   bool saveNow = true
);

Parameters

saveNow

If set to false, then this object will not save the active book, nor will it restore it on destruction unless Save has been called in the meantime.

If true, then the object will save the active book during construction, and will restore it at destruction.

Requirements

Header: xlpstatehelpers.h

See Also

CXlActiveBookRestorer Class | CXlActiveBookRestorer Methods