Click here to Skip to main content
16,011,805 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Saving text files Pin
vimarsh puneet11-Apr-07 19:46
vimarsh puneet11-Apr-07 19:46 
GeneralRe: Saving text files Pin
Hamid_RT11-Apr-07 21:15
Hamid_RT11-Apr-07 21:15 
GeneralRe: Saving text files Pin
vimarsh puneet11-Apr-07 22:36
vimarsh puneet11-Apr-07 22:36 
GeneralRe: Saving text files Pin
Hamid_RT12-Apr-07 0:02
Hamid_RT12-Apr-07 0:02 
QuestionHow to initialize RIL Pin
dishadiv11-Apr-07 18:56
dishadiv11-Apr-07 18:56 
QuestionMust use XmlDocument in managed C++? Pin
nathan711-Apr-07 17:04
nathan711-Apr-07 17:04 
AnswerRe: Must use XmlDocument in managed C++? Pin
Ravi Bhavnani11-Apr-07 17:16
professionalRavi Bhavnani11-Apr-07 17:16 
QuestionMFC and Serialize... How do I attach an icon/schema? Pin
maxmaven11-Apr-07 16:11
maxmaven11-Apr-07 16:11 
Hello,

I am using the MFC archive mechanism (serialize) to write out my document data. So I have something like:

void MyDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
		ar << somedata;
	}
	else
	{
		// TODO: add loading code here
		ar >> somedata;
	}
}


How do I attach an icon to the file I have written out?

Thank you!

Max
QuestionRe: MFC and Serialize... How do I attach an icon/schema? Pin
Ravi Bhavnani11-Apr-07 17:12
professionalRavi Bhavnani11-Apr-07 17:12 
AnswerRe: MFC and Serialize... How do I attach an icon/schema? Pin
maxmaven11-Apr-07 18:20
maxmaven11-Apr-07 18:20 
GeneralRe: MFC and Serialize... How do I attach an icon/schema? Pin
Steve S11-Apr-07 21:27
Steve S11-Apr-07 21:27 
GeneralRe: MFC and Serialize... How do I attach an icon/schema? Pin
maxmaven12-Apr-07 11:05
maxmaven12-Apr-07 11:05 
Questionopengl and tcp/ip Pin
synapticleft11-Apr-07 14:55
synapticleft11-Apr-07 14:55 
AnswerRe: opengl and tcp/ip Pin
El Corazon11-Apr-07 15:18
El Corazon11-Apr-07 15:18 
GeneralRe: opengl and tcp/ip Pin
synapticleft16-Apr-07 13:11
synapticleft16-Apr-07 13:11 
GeneralRe: opengl and tcp/ip Pin
Moak17-Apr-07 0:13
Moak17-Apr-07 0:13 
QuestionIs this a Bug or What? Pin
sanket.patel11-Apr-07 11:37
sanket.patel11-Apr-07 11:37 
AnswerRe: Is this a Bug or What? Pin
sthotakura11-Apr-07 11:47
sthotakura11-Apr-07 11:47 
GeneralRe: Is this a Bug or What? Pin
sanket.patel11-Apr-07 11:53
sanket.patel11-Apr-07 11:53 
GeneralRe: Is this a Bug or What? Pin
sthotakura11-Apr-07 11:58
sthotakura11-Apr-07 11:58 
GeneralRe: Is this a Bug or What? Pin
toxcct11-Apr-07 12:03
toxcct11-Apr-07 12:03 
GeneralRe: Is this a Bug or What? Pin
Christian Graus11-Apr-07 15:49
protectorChristian Graus11-Apr-07 15:49 
GeneralRe: Is this a Bug or What? Pin
BadKarma11-Apr-07 20:34
BadKarma11-Apr-07 20:34 
GeneralRe: Is this a Bug or What? Pin
Christian Graus12-Apr-07 1:50
protectorChristian Graus12-Apr-07 1:50 
GeneralRe: Is this a Bug or What? Pin
Rajesh R Subramanian11-Apr-07 22:43
professionalRajesh R Subramanian11-Apr-07 22: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.