Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to Add item in the System pop-up menu Pin
Sudipta Mukherjee29-Aug-07 16:33
Sudipta Mukherjee29-Aug-07 16:33 
AnswerRe: How to Add item in the System pop-up menu Pin
Waldermort29-Aug-07 16:48
Waldermort29-Aug-07 16:48 
AnswerRe: How to Add item in the System pop-up menu Pin
Jason Teagle29-Aug-07 22:23
Jason Teagle29-Aug-07 22:23 
Questiondon't know how to aplly CHtmlView to CFrameWnd Pin
Ryu Jin29-Aug-07 15:53
Ryu Jin29-Aug-07 15:53 
AnswerRe: don't know how to aplly CHtmlView to CFrameWnd Pin
Roger Broomfield29-Aug-07 18:42
Roger Broomfield29-Aug-07 18:42 
GeneralRe: don't know how to aplly CHtmlView to CFrameWnd [modified] Pin
Ryu Jin29-Aug-07 19:18
Ryu Jin29-Aug-07 19:18 
GeneralRe: don't know how to aplly CHtmlView to CFrameWnd Pin
Roger Broomfield29-Aug-07 21:24
Roger Broomfield29-Aug-07 21:24 
QuestionNeed for Multipart/mixed content type Pin
monsieur_jj29-Aug-07 14:50
monsieur_jj29-Aug-07 14:50 
Hi all,

I made a modified version of MBrooker's extended mime to extract embedded files of .eml messages, I was able to make it but unfortunately I have to break the standard content type, instead of Multipart/mixed I used Multipart/related:
virtual inline BOOL MakeMimeHeaderTwo(CStringA& header, LPCSTR szBoundary) throw()
	{
		_ATLTRY
		{
			if (!*szBoundary)
			{
				header.Format("X-Priority: %d\r\n%s", m_nPriority, (LPCSTR) m_XHeader);
			}
			//else if (m_BodyParts.m_nElements)
			else if (m_BodyParts.GetCount() > 1)
			{
				header.Format("X-Priority: %d\r\n%sMIME-Version: 1.0\r\nContent-Type: multipart/related;\r\n\tboundary=\"%s\"\r\n", 
					m_nPriority, (LPCSTR) m_XHeader, szBoundary);
			}
			return TRUE;
		}
		_ATLCATCHALL()
		{
			return FALSE;
		}

	  }


Now the solution I am thinking of is to create a new boundary for the multipart/related part of the msg so I can still use the standard Multipart/mixed, now my question is how can I do that?
From my analysis there will be a lot of changes at altmime.h
Is there a way to create a new boundary?

any suggestions of course will be welcome and thanked.

Thank you,
Monsieur Jj
AnswerRe: Need for Multipart/mixed content type Pin
monsieur_jj29-Aug-07 17:19
monsieur_jj29-Aug-07 17:19 
QuestionactiveX wrapper files - how to generate? Pin
charlieg29-Aug-07 13:50
charlieg29-Aug-07 13:50 
AnswerRe: activeX wrapper files - how to generate? Pin
Mark Salsbery29-Aug-07 14:08
Mark Salsbery29-Aug-07 14:08 
QuestionCControlBar derived class example? Pin
Jerry Evans29-Aug-07 8:55
Jerry Evans29-Aug-07 8:55 
AnswerRe: CControlBar derived class example? Pin
bob1697229-Aug-07 12:10
bob1697229-Aug-07 12:10 
QuestionUsing CFile or CStdioFile with CEditView - how to copy the entire text Pin
Vaclav_29-Aug-07 8:21
Vaclav_29-Aug-07 8:21 
AnswerRe: Using CFile or CStdioFile with CEditView - how to copy the entire text Pin
Russell'29-Aug-07 9:09
Russell'29-Aug-07 9:09 
GeneralRe: Using CFile or CStdioFile with CEditView - how to copy the entire text Pin
Vaclav_29-Aug-07 10:28
Vaclav_29-Aug-07 10:28 
AnswerRe: Using CFile or CStdioFile with CEditView - how to copy the entire text Pin
Dennis Gourjii29-Aug-07 9:42
Dennis Gourjii29-Aug-07 9:42 
GeneralRe: Using CFile or CStdioFile with CEditView - how to copy the entire text Pin
Vaclav_29-Aug-07 10:26
Vaclav_29-Aug-07 10:26 
QuestionRe: Using CFile or CStdioFile with CEditView - how to copy the entire text Pin
Mark Salsbery29-Aug-07 9:45
Mark Salsbery29-Aug-07 9:45 
AnswerRe: Using CFile or CStdioFile with CEditView - how to copy the entire text Pin
Vaclav_29-Aug-07 10:20
Vaclav_29-Aug-07 10:20 
GeneralRe: Using CFile or CStdioFile with CEditView - how to copy the entire text Pin
Mark Salsbery29-Aug-07 12:11
Mark Salsbery29-Aug-07 12:11 
QuestionData Sychronization Pin
Anthony988729-Aug-07 7:53
Anthony988729-Aug-07 7:53 
QuestionCallback functions???? Pin
pblais29-Aug-07 5:35
pblais29-Aug-07 5:35 
AnswerRe: Callback functions???? Pin
Russell'29-Aug-07 5:42
Russell'29-Aug-07 5:42 
GeneralRe: Callback functions???? Pin
pblais29-Aug-07 12:16
pblais29-Aug-07 12: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.