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

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -