void CBCGPCalculator::SetAdditionalCommands | ( | const CStringList & | lstCommands | ) |
Allows to add custom buttons to calculator.
You can provide a list of strings containing commands (names) related to additional buttons to be displayed by the calculator control.
You have to override OnUserCommand() method in order to process the custom commands, otherwise the default implementation will assert when the user presses a custom button.
lstCommands | Specifies the list of additional commands (names). |