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