SECEditCommandGroupHelper Class
class SECEditCommandGroupHelper
This class provides a means by which a set of commands can be easily grouped together programmatically. After instantiating an object of this type on the stack, all commands that are executed while the command group helper object is in scope will be grouped together by the SECEdit model object. When this object goes out of scope, it state of the SECEdit model object is restored, and commands are no longer grouped.Defined in: SECEdit.h
Developer Notes
The macro SECEDIT_SET_UNDO_GROUP can be used to create an undo group. Usage:SECEDIT_SET_UNDO_GROUP(x)
where "x" is a pointer to the SECEdit object for which to group the operations. All commands logged in the same scope after this macro is defined will be grouped.
Class Members
inline SECEditCommandGroupHelper(SECEdit* pEdit)
Constructor