BCGSuite for MFC
void CBCGPToolbarUndoButton::AddUndoAction ( LPCTSTR  szAction)

Adds a new action to the list.

Use this method to add a new action to the list of actions. This method should be called inside the BCGM_ON_BEFORE_SHOW_UNDO_ACTIONS_LIST registered message handler.

Parameters
szActionSpecifies the action label, which will be displayed in the drop-down list.