Click here to Skip to main content
15,909,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MSDN example code generates hard-coded brekapoint. Pin
Tomasz Sowinski15-Aug-02 7:32
Tomasz Sowinski15-Aug-02 7:32 
GeneralRe: MSDN example code generates hard-coded brekapoint. Pin
redeemer15-Aug-02 9:07
redeemer15-Aug-02 9:07 
GeneralRe: MSDN example code generates hard-coded brekapoint. Pin
Tomasz Sowinski15-Aug-02 9:09
Tomasz Sowinski15-Aug-02 9:09 
GeneralRe: MSDN example code generates hard-coded brekapoint. Pin
redeemer15-Aug-02 9:15
redeemer15-Aug-02 9:15 
GeneralRe: MSDN example code generates hard-coded brekapoint. Pin
Tomasz Sowinski15-Aug-02 9:17
Tomasz Sowinski15-Aug-02 9:17 
GeneralRe: MSDN example code generates hard-coded brekapoint. Pin
redeemer15-Aug-02 9:22
redeemer15-Aug-02 9:22 
QuestionHow to open project files in my app, like in Visual Studio Pin
Jake Palmer15-Aug-02 6:59
Jake Palmer15-Aug-02 6:59 
AnswerRe: How to open project files in my app, like in Visual Studio Pin
Roman Fadeyev15-Aug-02 7:08
Roman Fadeyev15-Aug-02 7:08 
It's very simple

Override InitialUpdateFrame in your DocTemplate like that

void CProjectDocTemplate::InitialUpdateFrame(CFrameWnd* pFrame, CDocument* pDoc,BOOL bMakeVisible)
{
  __super :: InitialUpdateFrame(pFrame, pDoc, /*!!!!*/false);
}
Moreover, you can even write so:

void CProjectDocTemplate::InitialUpdateFrame(CFrameWnd* pFrame, CDocument* pDoc,BOOL bMakeVisible)
{
	pFrame->DestroyWindow();
}


just set m_bAutoDelete to false in CYourDocument class before (constructor is the best place for it).
GeneralRe: How to open project files in my app, like in Visual Studio Pin
Jake Palmer15-Aug-02 8:35
Jake Palmer15-Aug-02 8:35 
GeneralRe: How to open project files in my app, like in Visual Studio Pin
Roman Fadeyev15-Aug-02 19:10
Roman Fadeyev15-Aug-02 19:10 
AnswerRe: How to open project files in my app, like in Visual Studio Pin
Jake Palmer16-Aug-02 9:46
Jake Palmer16-Aug-02 9:46 
GeneralCTreeCtrl Problem Pin
Jonah15-Aug-02 6:49
Jonah15-Aug-02 6:49 
GeneralRe: CTreeCtrl Problem Pin
Shog915-Aug-02 8:23
sitebuilderShog915-Aug-02 8:23 
GeneralRe: View problem again Pin
Roman Fadeyev15-Aug-02 6:36
Roman Fadeyev15-Aug-02 6:36 
GeneralRe: View problem again Pin
Zayax15-Aug-02 14:16
Zayax15-Aug-02 14:16 
GeneralRe: View problem again Pin
Roger Allen15-Aug-02 6:34
Roger Allen15-Aug-02 6:34 
GeneralRe: View problem again Pin
Roman Fadeyev15-Aug-02 6:42
Roman Fadeyev15-Aug-02 6:42 
GeneralRe: View problem again Pin
Tomasz Sowinski15-Aug-02 7:22
Tomasz Sowinski15-Aug-02 7:22 
GeneralRe: View problem again Pin
Roman Fadeyev15-Aug-02 8:02
Roman Fadeyev15-Aug-02 8:02 
GeneralRe: View problem again Pin
Tomasz Sowinski15-Aug-02 8:07
Tomasz Sowinski15-Aug-02 8:07 
GeneralRe: View problem again Pin
Zayax15-Aug-02 14:22
Zayax15-Aug-02 14:22 
GeneralRe: View problem again Pin
Zayax15-Aug-02 14:44
Zayax15-Aug-02 14:44 
GeneralTrouble Selecting Externaly with List Control. Pin
Jawache15-Aug-02 5:44
Jawache15-Aug-02 5:44 
GeneralRe: Trouble Selecting Externaly with List Control. Pin
Tomasz Sowinski15-Aug-02 5:54
Tomasz Sowinski15-Aug-02 5:54 
GeneralRe: Trouble Selecting Externaly with List Control. Pin
Jawache15-Aug-02 7:21
Jawache15-Aug-02 7:21 

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.