SECCalculator::SECCalcOp
Initialize button with accelerators same as caption, different from caption, or with a single character accelerator.
Defined in: CalcBtn.cpp
Syntax
BOOL Initialise(const Attrib& attrib, SECCalculator::SECCalcOp op, LPCTSTR lpszCaption, int nWidth /* = 1 */, BOOL bStartsRow /* = FALSE */);
BOOL Initialise(const Attrib& attrib, SECCalculator::SECCalcOp op, LPCTSTR lpszCaption, LPCTSTR lpszAccel, int nWidth /* = 1 */, BOOL bStartsRow /* = FALSE */);
BOOL Initialise(const Attrib& attrib, SECCalculator::SECCalcOp op, LPCTSTR lpszCaption, LPCTSTR lpszAccel, int nWidth /* = 1 */, BOOL bStartsRow /* = FALSE */);
Return Value
Nonzero if the button is successfully initialized; otherwise 0.
Parameters
attrib
References attributes used for drawing button on the calculator.
op
Specifies a calculator operation.
lpszCaption
Points to string containing button’s text.
cAccel
Specifies a single character accelerator.
cAccel
Specifies a single character accelerator.
nWidth
Value for button’s width.
bStartsRow
Flag indicating whether button starts row.