Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Best way to send mail through MFC Pin
Joe Woodbury29-Apr-10 6:39
professionalJoe Woodbury29-Apr-10 6:39 
GeneralMessage Removed Pin
29-Apr-10 7:15
mesajflaviu29-Apr-10 7:15 
GeneralRe: Best way to send mail through MFC Pin
Joe Woodbury29-Apr-10 7:17
professionalJoe Woodbury29-Apr-10 7:17 
GeneralRe: Best way to send mail through MFC Pin
mesajflaviu29-Apr-10 7:22
mesajflaviu29-Apr-10 7:22 
AnswerRe: Best way to send mail through MFC Pin
Moak29-Apr-10 9:47
Moak29-Apr-10 9:47 
GeneralRe: Best way to send mail through MFC Pin
mesajflaviu29-Apr-10 20:55
mesajflaviu29-Apr-10 20:55 
GeneralRe: Best way to send mail through MFC Pin
Moak29-Apr-10 21:36
Moak29-Apr-10 21:36 
Questiontry catch exceptions Pin
gmallax29-Apr-10 2:16
gmallax29-Apr-10 2:16 
AnswerRe: try catch exceptions Pin
Cedric Moonen29-Apr-10 2:32
Cedric Moonen29-Apr-10 2:32 
AnswerRe: try catch exceptions Pin
«_Superman_»29-Apr-10 8:13
professional«_Superman_»29-Apr-10 8:13 
GeneralRe: try catch exceptions Pin
gmallax29-Apr-10 19:37
gmallax29-Apr-10 19:37 
GeneralRe: try catch exceptions Pin
gmallax29-Apr-10 20:50
gmallax29-Apr-10 20:50 
GeneralRe: try catch exceptions Pin
«_Superman_»30-Apr-10 6:30
professional«_Superman_»30-Apr-10 6:30 
AnswerRe: try catch exceptions Pin
Stephen Hewitt29-Apr-10 14:30
Stephen Hewitt29-Apr-10 14:30 
QuestionGood book for C++ & MFC for exprienced professionals Pin
ptr_Electron29-Apr-10 1:38
ptr_Electron29-Apr-10 1:38 
AnswerRe: Good book for C++ & MFC for exprienced professionals Pin
Maximilien29-Apr-10 4:52
Maximilien29-Apr-10 4:52 
AnswerRe: Good book for C++ & MFC for exprienced professionals Pin
Rajesh R Subramanian29-Apr-10 5:18
professionalRajesh R Subramanian29-Apr-10 5:18 
AnswerRe: Good book for C++ & MFC for exprienced professionals Pin
Joe Woodbury29-Apr-10 6:42
professionalJoe Woodbury29-Apr-10 6:42 
AnswerRe: Good book for C++ & MFC for exprienced professionals Pin
Rolf Kristensen30-Apr-10 1:40
Rolf Kristensen30-Apr-10 1:40 
QuestionChange tool bar according to document Pin
Max++28-Apr-10 20:53
Max++28-Apr-10 20:53 
My project is about MDI with Multi-Document.
In each document has it own menu and toolbar, it mean that the menu and toolbar must change according to activate child windows.

For the menu,I use code below within InitInstance function to add document template then the menu (IDR_MSESoftTYPE and IDR_RECEIPT) can change according to activate child windows, so the menu already work fine.

CMultiDocTemplate* pDocTemplate;
	pDocTemplate = new CMultiDocTemplate(IDR_MSESoftTYPE,
		RUNTIME_CLASS(CMSESoftDoc),
		RUNTIME_CLASS(CChildFrame), // custom MDI child frame
		RUNTIME_CLASS(CMSESoftView));
	if (!pDocTemplate)
		return FALSE;
	AddDocTemplate(pDocTemplate);

	pDocTemplate = new CMultiDocTemplate(IDR_RECEIPT,
		RUNTIME_CLASS(CReceiptDoc),
		RUNTIME_CLASS(CReceiptFrame), // custom MDI child frame
		RUNTIME_CLASS(CReceiptView));
	if (!pDocTemplate)
		return FALSE;
	AddDocTemplate(pDocTemplate);
                                                        *
                                                        *
                                                        *


What about the toolbar how can I make it like menu.
Thanks
AnswerRe: Change tool bar according to document Pin
Iain Clarke, Warrior Programmer29-Apr-10 2:47
Iain Clarke, Warrior Programmer29-Apr-10 2:47 
Questionneed help for a simple basic program in mfc vc++ Pin
rajapp28-Apr-10 19:56
rajapp28-Apr-10 19:56 
AnswerRe: need help for a simple basic program in mfc vc++ Pin
Richard MacCutchan28-Apr-10 23:16
mveRichard MacCutchan28-Apr-10 23:16 
GeneralRe: need help for a simple basic program in mfc vc++ Pin
rajapp29-Apr-10 2:12
rajapp29-Apr-10 2:12 
GeneralRe: need help for a simple basic program in mfc vc++ Pin
Richard MacCutchan29-Apr-10 2:42
mveRichard MacCutchan29-Apr-10 2:42 

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.