BCGControlBar Pro for MFC
void CBCGPEditCtrl::GetUndoActions ( CDWordArray &  dwaUAT) const

Returns the list of available undo actions.

This function returns the list of available undo actions and reasons (g_dwUAT...) values. GetUndoActions scans the internal undo buffer (m_lstUndoActions) starting from m_posUndoBuffer in the backward direction. The list will be empty if m_posUndoBuffer is currently at the beginning of the buffer.

Use UAT_TYPE to extract undo action types and UAT_REASON to exatract the undo reasons (more exact types). See GetLastUndoReason() for the list of values.

Parameters
dwaUAT[out] When the function returns contains the list of undo action types.