BCGSuite for MFC
void CBCGPCalculator::SetExtendedCommands ( const CList< UINT, UINT > &  lstCommands)

Allows extended commands to calculator.

Use this method to display extended commands (buttons with advanced functions) on calculator control.

The following extended commands are currently implemented by the library:

  • idCommandAdvSin: sinus
  • idCommandAdvCos: co sinus
  • idCommandAdvTan: tangent
  • idCommandAdvX2: x ^ 2
  • idCommandAdvX3: x ^ 3
  • idCommandAdvExp: exp(x)
  • idCommandAdv10x: 10 * x
  • idCommandAdvLn: ln(x)
  • idCommandAdvLog: log(x)
  • idCommandAdvPi: pi
Parameters
lstCommandsSpecifies the list of extended commands to display.