Click here to Skip to main content
15,917,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWriting directly on a harddisk without using File Pin
Le@rner29-Dec-09 21:03
Le@rner29-Dec-09 21:03 
AnswerRe: Writing directly on a harddisk without using File Pin
Maxwell Chen29-Dec-09 21:09
Maxwell Chen29-Dec-09 21:09 
AnswerRe: Writing directly on a harddisk without using File Pin
raja jamwal31-Dec-09 8:15
raja jamwal31-Dec-09 8:15 
QuestionSharing the socket FD cross process Pin
vikramlinux29-Dec-09 20:44
vikramlinux29-Dec-09 20:44 
AnswerRe: Sharing the socket FD cross process Pin
CPallini29-Dec-09 21:30
mveCPallini29-Dec-09 21:30 
QuestionAFX_MANAGE_STATE (AfxGetStaticModuleState ()) not working Pin
Karismatic29-Dec-09 19:18
Karismatic29-Dec-09 19:18 
AnswerRe: AFX_MANAGE_STATE (AfxGetStaticModuleState ()) not working Pin
KingsGambit29-Dec-09 19:45
KingsGambit29-Dec-09 19:45 
GeneralRe: AFX_MANAGE_STATE (AfxGetStaticModuleState ()) not working Pin
Karismatic29-Dec-09 21:16
Karismatic29-Dec-09 21:16 
GeneralRe: AFX_MANAGE_STATE (AfxGetStaticModuleState ()) not working Pin
Madhu Nair29-Dec-09 21:43
Madhu Nair29-Dec-09 21:43 
Questionsending wav files using UPD protocol in vc++ Pin
janaswamy uday29-Dec-09 18:56
janaswamy uday29-Dec-09 18:56 
AnswerRe: sending wav files using UPD protocol in vc++ Pin
KingsGambit29-Dec-09 19:55
KingsGambit29-Dec-09 19:55 
AnswerRe: sending wav files using UPD protocol in vc++ Pin
raja jamwal31-Dec-09 8:22
raja jamwal31-Dec-09 8:22 
GeneralRe: sending wav files using UPD protocol in vc++ Pin
janaswamy uday1-Jan-10 23:44
janaswamy uday1-Jan-10 23:44 
Question[Resolved] CButtonST question, Remove the residue of old icon while setting a new icon with SetIcon [modified] Pin
Maxwell Chen29-Dec-09 18:51
Maxwell Chen29-Dec-09 18:51 
AnswerRe: CButtonST question, Remove the residue of old icon while setting a new icon with SetIcon Pin
KingsGambit29-Dec-09 19:47
KingsGambit29-Dec-09 19:47 
GeneralRe: CButtonST question, Remove the residue of old icon while setting a new icon with SetIcon Pin
Maxwell Chen29-Dec-09 20:03
Maxwell Chen29-Dec-09 20:03 
QuestionToolBar in singe document view Pin
Anu_Bala29-Dec-09 18:25
Anu_Bala29-Dec-09 18:25 
Hi,
In my applcaiton i have lot of views.But mainframe should be hided.So i created as single document each view as follow
pGroupViewTemplate = new CSingleDocTemplate(
		IDR_MAINFRAME,
		RUNTIME_CLASS(CCentumVPDoc),
		RUNTIME_CLASS(CFrameWnd), 
		RUNTIME_CLASS(CGroupView));
	AddDocTemplate(pGroupViewTemplate);

pGraphViewTemplate = new CSingleDocTemplate(
		IDR_MAINFRAME,
		RUNTIME_CLASS(CCentumVPDoc),
		RUNTIME_CLASS(CFrameWnd), 		 
		RUNTIME_CLASS(CGraphView));
	AddDocTemplate(pGraphViewTemplate);

I wil hide the mainframe window by
pMainFrame->ShowWindow(SW_HIDE/*m_nCmdShow*/);

But now i want toolbars for every view.I dont know where i put the code for getting toolbar.If it is MDI wnidow,then i will put that code in chilframe class.
Mainly to hide mainframe window,i avoid MDI.
What cna i do?

Anu

Questionmap Pin
ratprita29-Dec-09 17:35
ratprita29-Dec-09 17:35 
AnswerRe: map Pin
KingsGambit29-Dec-09 17:54
KingsGambit29-Dec-09 17:54 
GeneralRe: map Pin
ratprita29-Dec-09 18:08
ratprita29-Dec-09 18:08 
GeneralRe: map Pin
Tim Craig29-Dec-09 18:11
Tim Craig29-Dec-09 18:11 
GeneralRe: map Pin
KingsGambit29-Dec-09 18:23
KingsGambit29-Dec-09 18:23 
QuestionRe: map Pin
CPallini29-Dec-09 21:18
mveCPallini29-Dec-09 21:18 
AnswerRe: map Pin
ratprita29-Dec-09 21:23
ratprita29-Dec-09 21:23 
GeneralRe: map Pin
CPallini29-Dec-09 22:11
mveCPallini29-Dec-09 22:11 

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.