BCGSuite for MFC
CBCGPToolbarUndoButton

Detailed Description

The CBCGPToolbarUndoButton class implements the functionality of the split button with a drop-down list. It is possible to select a couple of actions from this list and execute ("undo" or "redo") all of them. If the button itself (left part) is clicked, then only one (last added) action will be executed.

Inherits CBCGPToolbarMenuButton.

Public Member Functions

 CBCGPToolbarUndoButtonConstructs a CBCGPToolbarUndoButton object.
 
 AddUndoActionAdds a new action to the list.
 
 GetSelectedActionsReturns the number of actions selected by the user.
 

Static Public Attributes

 m_szDropDownSpecifies dimensions of the undo button's drop-down list. The default value is 160x120.