void CBCGPRibbonFloaty::SetCommands | ( | CBCGPRibbonBar * | pRibbonBar, |
const CList< UINT, UINT > & | lstCommands | ||
) |
Sets a list of command to be displayed by floaty.
Use this function to set the list of commands to be displayed by floaty.
The floaty looks for buttons in all ribbon categories using the specified list of commands.
pRibbonBar | Related ribbon bar. The floaty takes buttons from this ribbon control. |
lstCommands | The list of commands to be displayed by the floaty. |