Click here to Skip to main content
15,912,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CString! Pin
David Crow16-Sep-04 7:47
David Crow16-Sep-04 7:47 
GeneralEliminating Flicker using DirectDraw?! Pin
towd16-Sep-04 5:57
towd16-Sep-04 5:57 
GeneralRe: Eliminating Flicker using DirectDraw?! Pin
normanS19-Sep-04 21:19
normanS19-Sep-04 21:19 
GeneralRe: Eliminating Flicker using DirectDraw?! Pin
towd20-Sep-04 5:43
towd20-Sep-04 5:43 
GeneralRe: Eliminating Flicker using DirectDraw?! Pin
normanS20-Sep-04 20:32
normanS20-Sep-04 20:32 
GeneralRe: Eliminating Flicker using DirectDraw?! Pin
Anonymous23-Sep-04 6:25
Anonymous23-Sep-04 6:25 
GeneralUsing MsChart ActiveX Pin
genki200016-Sep-04 5:45
genki200016-Sep-04 5:45 
GeneralUpdating a CDocument from other objects. Pin
Budric B.16-Sep-04 5:11
Budric B.16-Sep-04 5:11 
Hi,
I'm learning about the Doc/View method of programming and making an application. It seems to me that the only way you modify your document is either from the OnOpenDocument() and Serialize() and I have no idea how these get called in the CApp object. What if I wanted to update the document when some function gets called in one of my own objects?

How is the document normaly modified? Do you override Serialize in your app class and then since theApp is global your other objects can access and call it? Do you somehow get the CDocument (by calling something like CFrameWnd::GetActiveDocument())?

What I'm trying to do is have an object that outputs some information to a file. When this object is done I want the CDocument to be updated to point to a different file or something.

Thanks.
GeneralRe: Updating a CDocument from other objects. Pin
David Crow16-Sep-04 6:23
David Crow16-Sep-04 6:23 
GeneralRe: Updating a CDocument from other objects. Pin
Budric B.16-Sep-04 6:42
Budric B.16-Sep-04 6:42 
GeneralRe: Updating a CDocument from other objects. Pin
David Crow16-Sep-04 7:14
David Crow16-Sep-04 7:14 
GeneralRe: Updating a CDocument from other objects. Pin
Budric B.16-Sep-04 7:39
Budric B.16-Sep-04 7:39 
GeneralRe: Updating a CDocument from other objects. Pin
David Crow16-Sep-04 7:44
David Crow16-Sep-04 7:44 
GeneralRe: to which window Pin
Budric B.16-Sep-04 8:32
Budric B.16-Sep-04 8:32 
GeneralRe: to which window Pin
David Crow16-Sep-04 8:55
David Crow16-Sep-04 8:55 
GeneralThank you (nt) Pin
Budric B.16-Sep-04 9:13
Budric B.16-Sep-04 9:13 
GeneralRe: Oh and another silly question Pin
Budric B.16-Sep-04 6:53
Budric B.16-Sep-04 6:53 
GeneralRe: Oh and another silly question Pin
David Crow16-Sep-04 7:04
David Crow16-Sep-04 7:04 
GeneralSerialize Pin
TUMB16-Sep-04 5:02
TUMB16-Sep-04 5:02 
GeneralRe: Serialize Pin
David Crow16-Sep-04 5:21
David Crow16-Sep-04 5:21 
GeneralRe: Serialize Pin
TUMB16-Sep-04 5:25
TUMB16-Sep-04 5:25 
GeneralRe: Serialize Pin
TUMB16-Sep-04 5:28
TUMB16-Sep-04 5:28 
GeneralRe: Serialize Pin
TUMB16-Sep-04 5:34
TUMB16-Sep-04 5:34 
GeneralRe: Serialize Pin
David Crow16-Sep-04 5:46
David Crow16-Sep-04 5:46 
GeneralRe: Serialize Pin
David Crow16-Sep-04 5:43
David Crow16-Sep-04 5:43 

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.