What view class enables you to use an edit control as a view?



What view class enables you to use an edit control as a view?..

Answer / krishna akkulu

If you plan to manipulate simple text in your application,
CEditView does just that. It uses an Edit control to form
the user interface for the view. CEditView does not support
different font or color settings, though. For those
settings, you use a CRichEditView (discussed later, in the
section, "Using CRichEditView"). In addition to wrapping
the Edit control, CEditView also adds support for the
following command messages:

ID_FILE_PRINT
ID_EDIT_CUT
ID_EDIT_COPY
ID_EDIT_PASTE
ID_EDIT_CLEAR
ID_EDIT_UNDO
ID_EDIT_SELECT_ALL
ID_EDIT_FIND
ID_EDIT_REPLACE
ID_EDIT_REPEAT
The catch is that the menu items to generate these commands
are not implemented automatically; you must add these
yourself.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More MFC Interview Questions

What is #progma and where it is used?

5 Answers   L&T,


What function is used to disable a control at runtime?

7 Answers  


What is primitive and non-primitive application?

2 Answers   HCL,


Whats is DDX & DDV in MFC?

1 Answers   HCL,


What?s the difference between Modal and Modeless Dialog?

12 Answers   Jekson, Usl India,






What is the initial function to be called in MFC and what it will do

11 Answers   Infosys,


What function is used to retrieve the currently selected index in a list box?

2 Answers  


Tell me the work of HTREDUCE and HTZOOM

1 Answers   E Logic,


1)How to change the size of a button at run time ?

1 Answers  


1)set the Title for The File DialogBox, in MFC?

1 Answers  


how many types of messages are their

4 Answers   E Logic, TCS,


what is the difference between SDI and MDI

15 Answers   CMC, HCL, Siemens,


Categories