Share via


CCtrlView Class

Adapts the document-view architecture to the common controls supported by Windows 98 and Windows NT versions 3.51 and later.

class CCtrlView : public CView

Members

Public Constructors

Name

Description

CCtrlView::CCtrlView

Constructs a CCtrlView object.

Protected Methods

Name

Description

CCtrlView::OnDraw

Called by the framework to draw using the specified device context.

CCtrlView::PreCreateWindow

Called before the creation of the Windows window attached to this CCtrlView object.

Protected Data Members

Name

Description

CCtrlView::m_dwDefaultStyle

Contains the default style for the view class.

CCtrlView::m_strClass

Contains the Windows class name for the view class.

Remarks

The class CCtrlView and its derivatives, CEditView, CListView, CTreeView, and CRichEditView, adapt the document-view architecture to the new common controls supported by Windows 95/98 and Windows NT versions 3.51 and later. For more information on the document-view architecture, see Document/View Architecture.

Inheritance Hierarchy

CObject

CCmdTarget

CWnd

CView

CCtrlView

Requirements

Header: afxwin.h

See Also

Reference

CView Class

Hierarchy Chart

CTreeView Class

CListView Class

CRichEditView Class