Click here to Skip to main content
15,890,717 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: HTMLHelp: How to start with? Pin
Ravi Bhavnani30-May-04 7:52
professionalRavi Bhavnani30-May-04 7:52 
Generalresize Pin
Anonymous30-May-04 2:49
Anonymous30-May-04 2:49 
GeneralGDI Gurus, Ellipses Pin
Abin30-May-04 2:12
Abin30-May-04 2:12 
GeneralRe: GDI Gurus, Ellipses Pin
Dominik Reichl30-May-04 4:55
Dominik Reichl30-May-04 4:55 
GeneralRe: GDI Gurus, Ellipses Pin
f6430-May-04 8:40
f6430-May-04 8:40 
GeneralType casting problem Pin
RickardIsraelsson30-May-04 2:11
RickardIsraelsson30-May-04 2:11 
GeneralRe: Type casting problem Pin
PJ Arends30-May-04 4:28
professionalPJ Arends30-May-04 4:28 
GeneralCreating simple text editor using CView as base Pin
haritadala29-May-04 23:05
haritadala29-May-04 23:05 
Hello all

I'm new to doc/view architechture. I want to create a simple text editor which have to enable me to enter text, open files, edit,cut and copy. I'm using MFC AppWizard and accepting the defaults. It's creating a basic skeleton and when I ran it it show's up a simple editor, but when I open a file it's not showing the contents. Similarly its not allowing me to enter anything.

When creating the application if I change the base class of myview to CEditView then I'm able to do all the above operations. But I want to implement all the functionality just by deriving from CView.

Can anyone help me in this regard? Any example code or article which explains how to do will be of great help.

Thank you very much for your help.
Hari.

GeneralRe: Creating simple text editor using CView as base Pin
Pete Goodsall30-May-04 2:23
Pete Goodsall30-May-04 2:23 
GeneralRe: Creating simple text editor using CView as base Pin
haritadala30-May-04 3:35
haritadala30-May-04 3:35 
GeneralSome Questions about CHtmlView Pin
HIai29-May-04 18:21
HIai29-May-04 18:21 
GeneralMFC Container Application Pin
vishalmore29-May-04 17:58
vishalmore29-May-04 17:58 
GeneralHelp needed for CSocket Pin
sumon200229-May-04 17:43
sumon200229-May-04 17:43 
GeneralInitilize the socket Pin
laia30-May-04 8:22
laia30-May-04 8:22 
Questioncheck day of week? Pin
closecall29-May-04 16:25
closecall29-May-04 16:25 
AnswerRe: check day of week? Pin
PJ Arends30-May-04 5:18
professionalPJ Arends30-May-04 5:18 
GeneralScrollbar Control event handling Pin
ragpub29-May-04 16:21
ragpub29-May-04 16:21 
GeneralRe: Scrollbar Control event handling Pin
PJ Arends30-May-04 4:51
professionalPJ Arends30-May-04 4:51 
GeneralRe: Scrollbar Control event handling Pin
ragpub31-May-04 1:05
ragpub31-May-04 1:05 
GeneralOpen and display text document from win32 app Pin
Anonymous29-May-04 14:49
Anonymous29-May-04 14:49 
GeneralRe: Open and display text document from win32 app Pin
Roger Allen1-Jun-04 5:16
Roger Allen1-Jun-04 5:16 
GeneralBinary transfer Pin
TeraByteGuy29-May-04 14:43
TeraByteGuy29-May-04 14:43 
QuestionHow to resize a dialog? Pin
shultas29-May-04 13:58
shultas29-May-04 13:58 
AnswerRe: How to resize a dialog? Pin
Deian29-May-04 22:56
Deian29-May-04 22:56 
GeneralRe: How to resize a dialog? Pin
shultas30-May-04 2:44
shultas30-May-04 2:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.