visual c++ - Where to put assignment statement -


when open new file, opens new view. need put assignment statment references new view upon opening file. might be?

it can't onopendocument because view not loaded @ point.

edit: sorry mfc.

it looks best place in derived cview::oninitialupdate()

[this article gives sequence of actions when new document opened]


Comments

Popular posts from this blog

c++11 - Intel compiler and "cannot have an in-class initializer" when using constexpr -

rest - Spring boot: Request method 'PUT' not supported -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -