<< Return to Main Index

< Return to Class Index

CGXCurrencyEdit::CGXCurrencyEdit

CGXCurrencyEdit(CGXGridCore* pGrid , UINT nID);

pGrid

Pointer to the parent grid

nID

Specifies the edit control’s window ID.

Remarks

Constructs a CGXCurrencyEdit control.

Example:

// Typical registration snippet
CGXCurrencyEdit* pCurrency
   = new CGXCurrencyEdit(this, GX_IDS_CTRL_CURRENCY);
   pCurrency->CreateControl(WS_CHILD, CRect(0,0,0,0));
   RegisterControl(GX_IDS_CTRL_CURRENCY, pCurrency);

See Also

CGXGridCore::RegisterControl

CGXCurrencyEdit

Class Overview | Class Members