MFC对话框-UpdateData()函数使用
来源:互联网 发布:淘宝美工要做什么 编辑:程序博客网 时间:2024/06/11 14:50
1)
CWnd::UpdateData
BOOL UpdateData( BOOL bSaveAndValidate = TRUE );
Return Value
Nonzero if the operation is successful; otherwise 0. If bSaveAndValidate is TRUE, then a return value of nonzero means that the data is successfully validated.
Parameters
bSaveAndValidate
Flag that indicates whether dialog box is being initialized (FALSE) or data is being retrieved (TRUE).
Remarks
Call this member function to initialize data in a dialog box, or to retrieve and validate dialog data.
The framework automatically calls UpdateData with bSaveAndValidate set to FALSE when a modal dialog box is created in the default implementation of CDialog::OnInitDialog. The call occurs before the dialog box is visible. The default implementation of CDialog::OnOK calls this member function with bSaveAndValidate set to TRUE to retrieve the data, and if successful, will close the dialog box. (If the Cancel button is clicked in the dialog box, the dialog box is closed without the data being retrieved.)
2)
UpdateData() and Updatedata(TRUE) are the same.
- MFC对话框-UpdateData()函数使用
- MFC中UpdateData()函数的使用
- MFC中UpdateData()函数的使用
- MFC中UpdateData()函数的使用
- MFC中UpdateData()函数的使用
- MFC中UpdateData()函数的使用 .
- MFC中UpdateData()函数的使用
- MFC中UpdateData()函数的使用
- MFC中UpdateData()函数的使用
- MFC中UpdateData()函数的使用
- MFC中UpdateData()函数的使用
- MFC中UpdateData函数的使用功能
- MFC中UpdateData()函数的使用
- MFC中UpdateData()函数的使用
- MFC中UpdateData()函数的使用
- MFC中UpdateData()函数的使用
- MFC中UpdateData函数的使用
- UpdateData() --MFC函数
- EditText默认不弹出软件键盘
- 欢迎使用CSDN-markdown编辑器
- tomcat如何利用自带工具查看tomcat信息
- zabbix yum安装
- 【Visual C++】一些开发心得与调试技巧
- MFC对话框-UpdateData()函数使用
- TCP/IP学习笔记(1)
- 有关linux下redis overcommit_memory的问题
- Label_TextField_自定义视图
- leetcode--Single Number III
- Android NDK开发第一蛋
- 传感器模块与单片机的无线连接
- Django入门笔记
- 数据取证中对磁盘结构和工作原理的记录