Click here to Skip to main content
15,919,422 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Mario Bros Pin
parths17-Aug-03 17:25
parths17-Aug-03 17:25 
GeneralCSocket OnReceive Pin
prabagarm16-Aug-03 2:41
prabagarm16-Aug-03 2:41 
GeneralRe: CSocket OnReceive Pin
pxw16-Aug-03 11:37
pxw16-Aug-03 11:37 
QuestionHow to convert from .DOC to .PDF, please help me .......... Pin
Atif Bashir16-Aug-03 1:43
Atif Bashir16-Aug-03 1:43 
AnswerRe: How to convert from .DOC to .PDF, please help me .......... Pin
pxw16-Aug-03 10:48
pxw16-Aug-03 10:48 
GeneralDocument/View question Pin
7stud16-Aug-03 0:21
7stud16-Aug-03 0:21 
GeneralRe: Document/View question Pin
ColinDavies16-Aug-03 3:44
ColinDavies16-Aug-03 3:44 
GeneralRe: Document/View question Pin
Ravi Bhavnani16-Aug-03 7:09
professionalRavi Bhavnani16-Aug-03 7:09 
7stud wrote:
It seems to me the document got left out of the equation.

You're right - that's a terrible example and speaks volumes about the author and his/her editing crew. Also, as Colin pointed out, it should be CSketcherDoc* pDoc = GetDocument();, not CSketcher* ....

A better example would have obtained the coordinates used in the MoveTo() and LineTo() calls from the document. This would reinforce the notion that the document stores the data which is simply rendered by the view. A different view class might simply list the coordinates in a tabular form (perhaps in CListCtrl) instead of drawing within the view.

Hope this helps.

/ravi

Let's put "civil" back in "civilization"
Home | Articles | Freeware | Music
ravib@ravib.com

GeneralRe: Document/View question Pin
7stud16-Aug-03 8:51
7stud16-Aug-03 8:51 
GeneralRe: Document/View question Pin
John R. Shaw16-Aug-03 10:05
John R. Shaw16-Aug-03 10:05 
GeneralRe: Document/View question Pin
7stud16-Aug-03 20:19
7stud16-Aug-03 20:19 
GeneralRe: Document/View question Pin
Bob Stanneveld17-Aug-03 5:15
Bob Stanneveld17-Aug-03 5:15 
Generalhooking Pin
kafchan200316-Aug-03 0:19
kafchan200316-Aug-03 0:19 
GeneralRe: hooking Pin
Alexander M.,16-Aug-03 14:47
Alexander M.,16-Aug-03 14:47 
GeneralRe: hooking Pin
kafchan200318-Aug-03 0:27
kafchan200318-Aug-03 0:27 
Generalvectors. Pin
WREY15-Aug-03 23:30
WREY15-Aug-03 23:30 
GeneralRe: vectors. Pin
Neville Franks15-Aug-03 23:42
Neville Franks15-Aug-03 23:42 
GeneralRe: vectors. Pin
Anonymous16-Aug-03 4:30
Anonymous16-Aug-03 4:30 
GeneralRe: vectors. Pin
markkuk16-Aug-03 6:29
markkuk16-Aug-03 6:29 
GeneralRe: vectors. Pin
ZoogieZork16-Aug-03 6:32
ZoogieZork16-Aug-03 6:32 
GeneralWorked like a charm! Pin
WREY16-Aug-03 7:37
WREY16-Aug-03 7:37 
Generalproblem in creating Modeless window Pin
Ph@ntom15-Aug-03 19:30
Ph@ntom15-Aug-03 19:30 
GeneralRe: problem in creating Modeless window Pin
Steve Mayfield15-Aug-03 20:16
Steve Mayfield15-Aug-03 20:16 
GeneralRe: problem in creating Modeless window Pin
Ph@ntom15-Aug-03 23:57
Ph@ntom15-Aug-03 23:57 
GeneralVB to C++ help... Pin
JoeSox15-Aug-03 19:00
JoeSox15-Aug-03 19:00 

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.