Click here to Skip to main content
15,881,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Creating simple text editor using CView as base Pin
Pete Goodsall30-May-04 2:23
Pete Goodsall30-May-04 2:23 
To create just a text editor using CView will require alot of (unnecessary) work! If that's actually all you you want to do then use CEditView (as you suggested) or CRichEditView when creating the application in the wizard. If your problem is actually that you wish to display graphics as well, then the CRichEditView will take care of that too.
Otherwise, take a look at some of the examples here on Code Project: there are many that show you how to over ride "OnPaint", which is what you're going to have to do if you wish to manually code to at least display text in a CView.
Another method (not necessarily the best: you need to be more specific as to your problem) is to write text / draw to a bit map and then simply display that in the CView. Search for "double buffering", "bitmap" or "graphics" in Code Project. "Code Guru" is another good site to try. Smile | :)
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 
Generalproblem with inline keyword Pin
dart1329-May-04 13:14
dart1329-May-04 13:14 

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.