CDialog::OnInitDialog调用过程
2014-04-02 13:21
381 查看
OnintialDialog函数:This method is called in response to the WM_INITDIALOG message.从MSDN中可以看到:Windows
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 Create, CreateIndirect,
or DoModal calls,
which occur immediately before the dialog box is displayed.也就是说在对话框创建之后,显示之前调用OnInitDialog函数,对对话框进行初始化(在OnInitDialog函数中对话框的所有控件都已创建。)。
相关文章推荐
- 对话框函数CDialog::OnInitDialog()
- CDialog::OnInitDialog() 及“试图执行系统不支持的操作”
- CDialog::OnInitDialog() 及“试图执行系统不支持的操作”
- 关于对话框应用程序OnInitDialog()的调用
- 注意mfc下oninitdialog()和onsize()的调用顺序
- 为什么在CDialog::OnInitDialog函数中绘图没效果呢?
- MFC中OnInitDialog与OnSize函数谁先调用
- 在CDialog::OnInitDialog设置DEFAULT-BUTTON的注意事项
- CDialog::OnInitDialog();
- OninitDialog与OnCreate两个消息有何区别,分别在什么时候调用
- 解决 mfc OninitDialog里面隐藏对话框的方法
- Android Touch系统简介(二):实例详解onInterceptTouchEvent与onTouchEvent的调用过程
- 一个对话框,初始时没有OnInitDialog()函数,我们如何初始化其数据成员及函数
- ViewGroup dispatchTouchEvent,onTouchEvent与onInterceptTouchEvent 调用过程
- 从内核启动到执行多个arch_initcall、late_initcall等的调用过程
- OnInitDialog()中SetFocus()不起作用解决方法
- dispatchTouchEvent,onUserInteraction,onTouchEvent 调用时序(按键监听函数调用过程)
- OninitDialog
- 对话框程序, 在 OnInitDialog的最后 showWindow(SW_HIDE),不管用的原因
- MFC中OnInitDialog()函数的使用和使用SetWindowText()修改对话框的名称