OnFileNew
-
Hello, Whenever the application's
InitInstance
is executed, what is the best way of preventing theOnFileNew
method from being called without removing the command line parser? Is this possible to do without recurring to the use of flag variables? -
Hello, Whenever the application's
InitInstance
is executed, what is the best way of preventing theOnFileNew
method from being called without removing the command line parser? Is this possible to do without recurring to the use of flag variables?isn't OnFileNew() a function of the CView or its derived class? I'm not sure, but can't you just override in your derived class and not call the base class's function? Who are all these people and what are they doing in my house?...Me in 30 years, inside a grocery store My articles[^] bdiamond :zzz:
-
Hello, Whenever the application's
InitInstance
is executed, what is the best way of preventing theOnFileNew
method from being called without removing the command line parser? Is this possible to do without recurring to the use of flag variables?you could use CCommandLineInfo::FileNothing as a parameter to ParseCommandLine
Maximilien Lincourt Your Head A Splode - Strong Bad