当前位置:网站首页>Mfc a dialog calls B dialog function and passes parameters
Mfc a dialog calls B dialog function and passes parameters
2022-07-02 14:55:00 【sam-zy】
A.cpp
void A::OnBnClickedButton1()
{
// A dialog class :Copen.cpp
B* m_B= (B*)GetParent();
m_B->TcpB(_T("A window "), _T(" call B window "));
}
B.h
public
void B::TcpB(CString Name, CString Data)
B.cpp
void B::TcpB(CString Name, CString Data)
{
if (MessageBox(Data, Name, MB_YESNO | MB_ICONWARNING) == IDNO)
return;
}
边栏推荐
- Convolutional neural network (Introduction)
- STM32 library function for GPIO initialization
- tmall.product.schema.get( 产品信息获取schema获取 ),淘宝店铺上传商品API接口,淘宝商品发布接口,淘宝商品上传API接口,店铺上传接口,oAuth2.0接口
- taobao.trade.memo.add( 对一笔交易添加备注 )接口,淘宝店铺插旗接口,淘宝订单插旗API接口,oAuth2.0接口
- Development and design of animation surrounding mall sales website based on php+mysql
- Reuse and distribution
- Uniapp automated test learning
- info [email protected] : The platform “win32“ is incompatible with this module.
- 871. 最低加油次数 : 简单优先队列(堆)贪心题
- Bit by bit of OpenCV calling USB camera
猜你喜欢

Yolov6 training: various problems encountered in training your dataset

It's no exaggeration to say that this is the most user-friendly basic tutorial of pytest I've ever seen

【空间&单细胞组学】第1期:单细胞结合空间转录组研究PDAC肿瘤微环境

Kityformula editor configure font size and spacing

jmeter脚本参数化

LeetCode 209. 长度最小的子数组

为什么只会编程的程序员无法成为优秀的开发者?
![[development environment] install the visual studio community 2013 development environment (download the installation package of visual studio community 2013 with update 5 version)](/img/7b/2c471c070a3faa981f70136603495a.jpg)
[development environment] install the visual studio community 2013 development environment (download the installation package of visual studio community 2013 with update 5 version)

##51单片机实验之简易验证码发生器

Makefile 分隔文件名与后缀
随机推荐
Fabric. Keep the original level when JS element is selected
【apipost】使用教程
[development environment] install the visual studio community 2013 development environment (download the installation package of visual studio community 2013 with update 5 version)
taobao. trade. memo. Add (add remarks to a transaction) interface, Taobao store flag insertion interface, Taobao order flag insertion API interface, oauth2.0 interface
Edit the formula with MathType, and set it to include only mathjax syntax when copying and pasting
Contrôleur pour threejs cube Space Basic Controller + Inertial Control + Flight Control
Advanced usage of C language -- function pointer: callback function; Conversion table
华为面试题: 没有回文串
Method of creating linked server for cross server data access
Tmall product details interface (APP, H5 end)
LeetCode - 搜索二维矩阵
taobao.trade.memo.add( 对一笔交易添加备注 )接口,淘宝店铺插旗接口,淘宝订单插旗API接口,oAuth2.0接口
Slashgear shares 2021 life changing technology products, which are somewhat unexpected
STM32 library function for GPIO initialization
MQ教程 | Exchange(交换机)
Uniapp automated test learning
报错:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
数据库连接池和数据源
info [email protected]: The platform “win32“ is incompatible with this module.
Error: NPM warn config global ` --global`, `--local` are deprecated Use `--location=global` instead.