CEditView::GetEditCtrl

This method obtains a reference to the edit control used by the edit view. This control is of type CEdit, so you can manipulate the Windows CE edit control directly using the CEdit methods.

Note Using the CEdit object can change the state of the underlying Windows CE edit control. For example, you should not change the tab settings using the CEdit::SetTabStops method because CEditView caches these settings for use both in the edit control and in printing. Instead, use CEditView::SetTabStops.

At a Glance

Header file: Afxext.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

CEdit& GetEditCtrl( ) const;

See Also

CEdit, CEditView::SetTabStops