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 functioning of DIalodDataXchange ..?

0 Answers  


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

1 Answers  


How you create a button dynamically?

2 Answers  


How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it

8 Answers  


What are the differences between MFC Exception macros and C++ exception keywords?

2 Answers  






What are the special requirements for dialog box resources used in a form view?

2 Answers  


i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required

3 Answers   Patni,


what is the use of CCmdTarget?

4 Answers   Siemens,


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

2 Answers   Sony,


1)To Remove WS_MINIMIZEBOX in a Frame ?

1 Answers  


How many types of combo box are their

2 Answers   Aaditya Info Solutions, E Logic,


How to update windows title bar dynamically?

7 Answers   HCL,


Categories