Dear Support,
After swithcing from CMDIChildWnd
to CExtNCW<CMDIChildWnd>
, we encountered many performance issues.
We inverstigated them and found that if we use CMDIChildWnd
, when creating a new maximized view, OnSize
is called 6 time (once with cx=cy0=0, and 5 more times).
But, if we create a view with CExtNCW<CMDIChildWnd>
OnSizeis called 14(!) times.
The problem is that inside OnSize
we do a lot of computation, assuming that this function is called only when needed, that is not 14 times in a row!
More then this, we see that if we change the title of the child frame, OnSize
is called twice, which causes our view to flicker. When the title is change in the normal CMDIChildWnd
, this does not happen.(all we do is add * to the title when the data in the view was modified...)
In general, we decided to remove this feature for now, as it seems to be immature. Please let us know when these performance issues are going to be solved, as it affect the overall look & feel of our systems.
If anybody else has encountered these issues, please let the support know... I’m sure we’re not alone.
Regards,
Ron.