OnIntialDialog() (Dialog应用)和 OnIntialUpdate(View应用)的 程序起始点

 
  • Dialog为基的应用框架的程序的起始点在OnIntialDialog()

FormView为基的应用框架的程序起始点在OnIntialUpdate()

需要起始就装入的代码放在

  • CformViewOnIntialUpdate();

GetParentFrame()->RecalcLayout();

Resize ParenttoFit();

三个语句之后(上述三个语句存在于OnIntialUpdate()中)

原文地址:https://www.cnblogs.com/cy163/p/533027.html