SECEditCtrl Class

class SECEditCtrl: public SECEditCtrlWrapper_T, public CWnd, public SECEditViewport

The SECEditCtrl class combines a CWnd with a SECEditViewport for rendering the data associated with the model (SECEdit) and directing user input to the controller (SECEditController). This class represents the view portion of the model-view-controller triad.

Defined in: SECEditCtrl.h

See Also

SECEdit  SECEditController c SECEditViewport>

Class Members

Construction / initialization

 SECEditCtrl()

Constructor.

virtual BOOL  Initialize(UINT nID, CWnd* pParentWnd, DWORD dwExStyle = WS_EX_CLIENTEDGE)

Initializes SECEditCtrl to a control in a dialog.

virtual SECEdit*  GetEdit()

Returns a pointer to the data model.

virtual void  SetEdit(SECEdit* pEdit, BOOL bAutoDelete = FALSE)

Specifies a new default model.

Implementation

virtual void  CreateNewEdit()

Creates the data model used internally by SECEditCtrl

Protected data members

SECEdit*  m_pSECEdit

The data model associated with this window.

BOOL  m_bAutoDelete

Indicates whether to auto-delete the associated model.