This class uses the rich edit control, so it supports mixed formats and large quantities of text. The CEditView class implements and maps the clipboard cut, copy, and paste functions, so they appear active on the Edit menu. There's no multiple inheritance here, just some magic that involves window subclassing. When the framework gives you an edit view object, it has all the functionality of both CView and CEdit. AppWizard gives you the option of making CEditView the base class of your view class. Text size is limited to 64 KB, and you can't mix fonts. This class is based on the Windows edit control, so it inherits all the edit control's limitations. The MFC library supports this versatility with the CEditView and CRichEditView classes. Both can be used as controls within dialogs, but both can also be made to look like view windows. Windows itself supplies two text editing tools: edit control and Windows rich edit common control.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |