BCGSuite for MFC
virtual BOOL CBCGPCalculator::CreateControl ( CWnd *  pParentWnd,
const CRect &  rect,
UINT  nID 
)
virtual

Creates the calculator Windows control.

Returns
Nonzero if the calculator control has been created successfully; it's 0 if the creation failed.

Call this function to create the calculator Windows control. Use this function if the calculator control is placed on a dialog. The function should be called from OnInitDialog.

Parameters
pParentWndA pointer to the parent window.
rectThe calculator control rectangle.
nIDControl ID.