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

Which CPrintInfo member variable must be set for multiple page printouts?

1 Answers  


Tell me the work of HTREDUCE and HTZOOM

1 Answers   E Logic,


what is the difference between compiling and building?

1 Answers  


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

1 Answers  


What is the difference between the Encapsulation and Abstraction

25 Answers   HCL, Invensys, TCS, Wipro,






1)To Remove WS_MINIMIZEBOX in a Frame ?

1 Answers  


visual Pogramming c++ coding for create a paint application.. (Please someone help me)

2 Answers  


1)How to create ToolTip in MFC?

2 Answers  


How to access document object from view ?

1 Answers  


How to create a Modeless Dialog?

5 Answers  


What is the use of UpdateData funciton ?

7 Answers  


Does the application have more than one object? If Yes, Briefly explain.

2 Answers   Soltius Infotech,


Categories