Click here to Skip to main content
16,004,901 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDialog (Modal) based MFC Application, fails to respond properly to 'Minimize-All', 'Restore on click from taskbar-entry', etc Pin
ohadp28-Aug-03 3:34
ohadp28-Aug-03 3:34 
GeneralRe: Dialog (Modal) based MFC Application, fails to respond properly to 'Minimize-All', 'Restore on click from taskbar-entry', etc Pin
David Crow28-Aug-03 3:39
David Crow28-Aug-03 3:39 
GeneralRe: Dialog (Modal) based MFC Application, fails to respond properly to 'Minimize-All', 'Restore on click from taskbar-entry', etc Pin
ohadp28-Aug-03 3:51
ohadp28-Aug-03 3:51 
GeneralCreating and saving to a file Pin
NewHSKid28-Aug-03 2:29
NewHSKid28-Aug-03 2:29 
GeneralRe: Creating and saving to a file Pin
David Crow28-Aug-03 2:40
David Crow28-Aug-03 2:40 
GeneralRe: Creating and saving to a file Pin
NewHSKid28-Aug-03 2:55
NewHSKid28-Aug-03 2:55 
GeneralRe: Creating and saving to a file Pin
Ravi Bhavnani28-Aug-03 3:05
professionalRavi Bhavnani28-Aug-03 3:05 
GeneralRe: Creating and saving to a file Pin
David Crow28-Aug-03 3:06
David Crow28-Aug-03 3:06 
NewHSKid wrote:
Did I do something wrong by asking the question yesterday and today? is that why you put the link to my question yesterday? If so, sorry.

No, I was just making you aware that a previous attempt was made to point you in the right direction.

NewHSKid wrote:
Can you explain a little more for me? What do you mean that the messages belong to the document? What is serialization?

I'm guessing that you have either an MDI or an SDI application. If that's the case, it's bound to have a CDocument-derived class. That class will have member variables, which might (it's up to you to decide the most appropriate spot) include the messages you are creating/sending/receiving.

Serialization is well-documented in MSDN (this tool should become part of your arsenal). Here's an excerpt:

“Serialization” is the process of writing or reading an object to or from a persistent storage medium, such as a disk file. MFC supplies built-in support for serialization in the class CObject. Thus, all classes derived from CObject can take advantage of CObject’s serialization protocol.

The basic idea of serialization is that an object should be able to write its current state, usually indicated by the value of its member variables, to persistent storage.

GeneralRe: Creating and saving to a file Pin
NewHSKid28-Aug-03 3:36
NewHSKid28-Aug-03 3:36 
GeneralRe: Creating and saving to a file Pin
David Crow28-Aug-03 3:41
David Crow28-Aug-03 3:41 
Generalchar to WCHAR Pin
arturapps28-Aug-03 2:27
arturapps28-Aug-03 2:27 
GeneralRe: char to WCHAR Pin
David Crow28-Aug-03 2:42
David Crow28-Aug-03 2:42 
Generalrun batch file contents from application...help experts Pin
rohit.dhamija28-Aug-03 2:17
rohit.dhamija28-Aug-03 2:17 
GeneralRe: run batch file contents from application...help experts Pin
David Crow28-Aug-03 2:23
David Crow28-Aug-03 2:23 
GeneralRe: run batch file contents from application...help experts Pin
rohit.dhamija28-Aug-03 2:49
rohit.dhamija28-Aug-03 2:49 
GeneralRe: run batch file contents from application...help experts Pin
David Crow28-Aug-03 2:54
David Crow28-Aug-03 2:54 
GeneralRe: run batch file contents from application...help experts Pin
rohit.dhamija28-Aug-03 3:10
rohit.dhamija28-Aug-03 3:10 
GeneralRe: run batch file contents from application...help experts Pin
David Crow28-Aug-03 3:36
David Crow28-Aug-03 3:36 
GeneralRe: run batch file contents from application...help experts Pin
Steve S28-Aug-03 6:33
Steve S28-Aug-03 6:33 
QuestionHow to build Conversion utility Pin
Thoppae28-Aug-03 2:15
Thoppae28-Aug-03 2:15 
AnswerRe: How to build Conversion utility Pin
David Crow28-Aug-03 2:27
David Crow28-Aug-03 2:27 
GeneralRe: How to build Conversion utility Pin
Anonymous28-Aug-03 2:56
Anonymous28-Aug-03 2:56 
GeneralRe: How to build Conversion utility Pin
David Crow28-Aug-03 3:25
David Crow28-Aug-03 3:25 
GeneralCEdit and DblClick Pin
olivierjoly28-Aug-03 1:20
olivierjoly28-Aug-03 1:20 
GeneralRe: CEdit and DblClick Pin
valikac28-Aug-03 6:16
valikac28-Aug-03 6:16 

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.