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

C / C++ / MFC

 
GeneralRe: Where to put header files Pin
Tim Deveaux15-May-01 13:45
Tim Deveaux15-May-01 13:45 
GeneralStarting another application from code Pin
15-May-01 11:14
suss15-May-01 11:14 
GeneralRe: Starting another application from code Pin
Christian Graus15-May-01 11:18
protectorChristian Graus15-May-01 11:18 
GeneralChange view in OnNewDocument Pin
Clinton James15-May-01 9:28
Clinton James15-May-01 9:28 
GeneralRe: Change view in OnNewDocument Pin
Tomasz Sowinski15-May-01 10:00
Tomasz Sowinski15-May-01 10:00 
GeneralRe: Change view in OnNewDocument Pin
Clinton James16-May-01 4:45
Clinton James16-May-01 4:45 
Generalneed one example Pin
15-May-01 9:00
suss15-May-01 9:00 
GeneralRe: need one example Pin
Christian Graus15-May-01 22:57
protectorChristian Graus15-May-01 22:57 
It's all done in OnOpenDocument in your View class, although from memory some of it routes back through your App class as well with the first file you open. Just overload it, show your own dialog, with the extensions shown you want to support, then examine the return and load the file appropropriately.

Christian

I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in.

The early bird may get the worm, but it's the second mouse that gets the cheese.
GeneralCScrollView question Pin
Richard Cheng15-May-01 8:19
Richard Cheng15-May-01 8:19 
GeneralError message??!!!!! Pin
Richard Cheng15-May-01 7:41
Richard Cheng15-May-01 7:41 
GeneralRe: Error message??!!!!! Pin
Tomasz Sowinski15-May-01 7:54
Tomasz Sowinski15-May-01 7:54 
GeneralRe: Error message??!!!!! Pin
Richard Cheng15-May-01 8:12
Richard Cheng15-May-01 8:12 
GeneralDialog vs MDI Pin
mr200315-May-01 6:50
mr200315-May-01 6:50 
GeneralRe: Dialog vs MDI Pin
15-May-01 21:36
suss15-May-01 21:36 
Questionhow to clear a listbox control Pin
15-May-01 5:39
suss15-May-01 5:39 
AnswerRe: how to clear a listbox control Pin
15-May-01 6:44
suss15-May-01 6:44 
AnswerRe: how to clear a listbox control Pin
Gunnar Mätzler15-May-01 21:05
Gunnar Mätzler15-May-01 21:05 
GeneralOnOpenDocument Pin
15-May-01 5:23
suss15-May-01 5:23 
Questionhow to point to a list item Pin
hearties15-May-01 1:30
hearties15-May-01 1:30 
AnswerRe: how to point to a list item Pin
Tomasz Sowinski15-May-01 1:39
Tomasz Sowinski15-May-01 1:39 
GeneralRe: how to point to a list item Pin
hearties15-May-01 1:46
hearties15-May-01 1:46 
GeneralRe: how to point to a list item Pin
Tomasz Sowinski15-May-01 1:59
Tomasz Sowinski15-May-01 1:59 
GeneralSoftware Security Pin
Gunnar Mätzler15-May-01 1:23
Gunnar Mätzler15-May-01 1:23 
GeneralRe: Software Security Pin
Tomasz Sowinski15-May-01 1:37
Tomasz Sowinski15-May-01 1:37 
GeneralRe: Software Security Pin
Gunnar Mätzler15-May-01 6:22
Gunnar Mätzler15-May-01 6:22 

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.