Click here to Skip to main content
15,906,574 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Jake Palmer wrote:
Sounds great, but I am just using CMultiDocTemplates in my code.

It does not matter. Look:

class CProjectDocTemplate : public CMultiDocTemplate  
{
public:
    CProjectDocTemplate ( UINT nIDResource, CRuntimeClass* pDocClass, CRuntimeClass* pFrameClass, CRuntimeClass* pViewClass );
...
}

CProjectDocTemplate ::CProjectDocTemplate ( UINT nIDResource, CRuntimeClass* pDocClass, CRuntimeClass* pFrameClass, CRuntimeClass* pViewClass ):
    CMultiDocTemplate(nIDResource, pDocClass, pFrameClass, pViewClass)

{
}
....
// ------- CXXXApp.InitInstance() --------//
    AddDocTemplate( new CProjectDocTemplate(
        IDR_DOC_PROJECT,
        RUNTIME_CLASS(CProjectDoc),      // document class
        RUNTIME_CLASS(CMDIChildWnd),        // frame class
        RUNTIME_CLASS(CProjectView)     // view class
        ));


Where is the problem?
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 
GeneralRe: Trouble Selecting Externaly with List Control. Pin
Roger Allen15-Aug-02 6:36
Roger Allen15-Aug-02 6:36 
GeneralSetting Environmental Varialbles Pin
Michael_Petrov15-Aug-02 5:19
sussMichael_Petrov15-Aug-02 5:19 

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.