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

How to access document object from view ?

1 Answers  


What is Thread ?(VC++)What is the difference between Cmutex and Csemaphone?

5 Answers   Atos Origin,


Tell me the different controls in MFC ?

5 Answers  


what is message Testing ?

1 Answers   L&T,


2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers

0 Answers   TCS,


How do I create a dialog box in mfc?

0 Answers  


How to handle command line arguements from simple MFC application ?

2 Answers   TCS,


Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?

2 Answers   Sony,


how to give colour for dialog button or static buuto?any one explain full code ?pls pls

3 Answers  


Do you have an idea about MFC?

0 Answers   C DAC, CDAC,


If application hangs while SendMessage is waiting for the result, how you handle it?

2 Answers  


What is CALLBACK? How it work? what is the advantage of CALLBACK, please explain with an example

6 Answers  


Categories