The MDI window frame is still invalid if the user switches between MDI windows. I can bypass this by calling the IOleInPlaceActiveObject::OnFrameWindowActivate method after receiving document change notification message, but I'm not sure if such approach is correct.
You may call IOleInPlaceActiveObject::OnFrameWindowActivate after receiving activating/deactivating message (WM_ACTIVATE) by your(!) top-level window.
I tried it in my test application - this method works properly (see attachment).
- The document name in MDI frame does not contain asterisk if the document is changed.
This issue will be fixed in the next build.