CDialog::OnInitDialog调用过程

来源:互联网 发布:西北师大知行学院地址 编辑:程序博客网 时间:2024/05/22 03:53


    OnintialDialog函数:This method is called in response to the WM_INITDIALOG message.从MSDN中可以看到:Windows sends the WM_INITDIALOG message to the dialog box during the CreateCreateIndirect, or DoModal calls, which occur immediately before the dialog box is displayed.也就是说在对话框创建之后,显示之前调用OnInitDialog函数,对对话框进行初始化(在OnInitDialog函数中对话框的所有控件都已创建。)。


0 0
原创粉丝点击