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

C / C++ / MFC

 
GeneralRe: Memory Leak Pin
15-May-01 23:48
suss15-May-01 23:48 
GeneralWhere to put header files Pin
Christopher15-May-01 12:18
Christopher15-May-01 12:18 
GeneralRe: Where to put header files Pin
Christian Graus15-May-01 12:52
protectorChristian Graus15-May-01 12:52 
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 
Check the Paul DiLascia article that appeared in Feb'96 issue of MSJ:

http://msdn.microsoft.com/library/periodic/period96/SFFD.htm

The solution doesn't use OnNewDocument. Instead, it overrides the InitialUpdateFrame, which is a virtual method of CDocTemplate. The decision which view to use is delegated to user-defined method. This allows you to display CEditView or CHtmlView depending on context.


Tomasz Sowinski -- http://www.shooltz.com.pl
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 
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 

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.