Click here to Skip to main content
15,902,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVirtual Base Class & Constructor :: C++ Pin
valikac13-Sep-02 9:46
valikac13-Sep-02 9:46 
GeneralRe: Virtual Base Class & Constructor :: C++ Pin
Joaquín M López Muñoz13-Sep-02 9:57
Joaquín M López Muñoz13-Sep-02 9:57 
GeneralRe: Virtual Base Class & Constructor :: C++ Pin
valikac13-Sep-02 10:03
valikac13-Sep-02 10:03 
GeneralRe: Virtual Base Class & Constructor :: C++ Pin
Mike Nordell14-Sep-02 3:43
Mike Nordell14-Sep-02 3:43 
GeneralRe: Virtual Base Class & Constructor :: C++ Pin
valikac14-Sep-02 7:11
valikac14-Sep-02 7:11 
Generalprogrammatically creating new doc Pin
brianwelsch13-Sep-02 9:22
brianwelsch13-Sep-02 9:22 
GeneralRe: programmatically creating new doc Pin
Pavel Klocek13-Sep-02 9:56
Pavel Klocek13-Sep-02 9:56 
GeneralRe: programmatically creating new doc Pin
brianwelsch13-Sep-02 10:31
brianwelsch13-Sep-02 10:31 
Thanks, still not quite there, though.

I've implemented this:

CDocument* pDoc = AfxGetApp()->OpenDocumentFile(Filename);<br />
if(pDoc != NULL)<br />
    pDoc->UpdateAllViews(NULL);


and get an exception error assigning pDoc. Confused | :confused:



BW
{insert witty/thought-provoking saying here}
GeneralRe: programmatically creating new doc Pin
Pavel Klocek13-Sep-02 10:52
Pavel Klocek13-Sep-02 10:52 
GeneralRe: programmatically creating new doc Pin
brianwelsch13-Sep-02 11:00
brianwelsch13-Sep-02 11:00 
GeneralRe: programmatically creating new doc Pin
Pavel Klocek13-Sep-02 11:22
Pavel Klocek13-Sep-02 11:22 
GeneralRe: programmatically creating new doc Pin
brianwelsch13-Sep-02 11:25
brianwelsch13-Sep-02 11:25 
GeneralRe: programmatically creating new doc Pin
Pavel Klocek13-Sep-02 11:30
Pavel Klocek13-Sep-02 11:30 
Generalquick STL question: Pin
ns13-Sep-02 9:21
ns13-Sep-02 9:21 
GeneralRe: quick STL question: Pin
Joaquín M López Muñoz13-Sep-02 9:29
Joaquín M López Muñoz13-Sep-02 9:29 
GeneralRe: quick STL question: Pin
Chris Losinger13-Sep-02 9:29
professionalChris Losinger13-Sep-02 9:29 
GeneralRe: quick STL question: Pin
ns13-Sep-02 9:39
ns13-Sep-02 9:39 
QuestionTutorial on threads?? Pin
DarrollWalsh13-Sep-02 7:39
DarrollWalsh13-Sep-02 7:39 
AnswerRe: Tutorial on threads?? Pin
Chris Losinger13-Sep-02 9:43
professionalChris Losinger13-Sep-02 9:43 
QuestionHow to identify class of dialog control Pin
John Oliver13-Sep-02 6:27
John Oliver13-Sep-02 6:27 
AnswerRe: How to identify class of dialog control Pin
Pavel Klocek13-Sep-02 6:51
Pavel Klocek13-Sep-02 6:51 
GeneralRe: How to identify class of dialog control Pin
John Oliver15-Sep-02 23:01
John Oliver15-Sep-02 23:01 
Generalvariable arguments Pin
Zizilamoroso13-Sep-02 5:12
Zizilamoroso13-Sep-02 5:12 
GeneralRe: variable arguments Pin
Tomasz Sowinski13-Sep-02 5:19
Tomasz Sowinski13-Sep-02 5:19 
GeneralRe: variable arguments Pin
Zizilamoroso13-Sep-02 5:23
Zizilamoroso13-Sep-02 5:23 

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.