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 |
How to access document object from view ?
1)why we cant create more than one instance of the class Derived from CWinApp
if i modified data in 1 view how does the other view knows
what is the use of AFX_MANAGE_STATE ?
What is difference between the TCP/IP and UDP socket
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
What is the difference between the ASSERT and VERIFY macros?
if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?
1)How to change the size of a button at run time ?
What is the difference between GetMessage and PeekMessage ?
What is LPCTSTR? What does LP denote it?
is there any class which is not derived from Cobject