在oninitdialog后添加初始化变量

需要 UpdateData(FALSE); 刷新界面 不然有时会不显示。

原文地址:https://www.cnblogs.com/xzh1993/p/4785306.html