当前位置:网站首页>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;
}
边栏推荐
- Fabric.js 元素被选中时保持原有层级
- Xilinx Vivado set *. svh as SystemVerilog Header
- Slashgear shares 2021 life changing technology products, which are somewhat unexpected
- Fundamentals of software testing
- Error: NPM warn config global ` --global`, `--local` are deprecated Use `--location=global` instead.
- Some Chinese character codes in the user privacy agreement are not standardized, which leads to the display of garbled codes on the web page. It needs to be found and handled uniformly
- taobao.trade.get( 获取单笔交易的部分信息),淘宝店铺订单接口,淘宝oAuth2.0接口,淘宝R2接口代码对接分享
- Fabric. JS manual bold text iText
- 3、函数指针和指针函数
- 电脑怎么设置扬声器播放麦克风的声音
猜你喜欢
随机推荐
Makefile separates file names and suffixes
Add vector formula in rich text editor (MathType for TinyMCE, visual addition)
String matching problem
Advanced C language (learn malloc & calloc & realloc & free in simple dynamic memory management)
Fabric. JS zoom canvas
Onnx+tensorrt: write preprocessing operations to onnx and complete TRT deployment
Borui data integrated intelligent observable platform was selected into the "Yunyuan production catalogue" of China Academy of communications in 2022
Fabric.js 手动加粗文本iText
Fabric.js 上划线、中划线(删除线)、下划线
STM32 library function for GPIO initialization
Tmall product details interface (APP, H5 end)
MFC CString 转 char*
Fabric.js 元素被选中时保持原有层级
途家木鸟美团夏日折扣对垒,门槛低就一定香吗?
【空间&单细胞组学】第1期:单细胞结合空间转录组研究PDAC肿瘤微环境
Find the maximum inscribed circle of the contour
Yyds dry goods inventory software encryption lock function
由粒子加速器产生的反中子形成的白洞
检查密码
obsidian安装第三方插件——无法加载插件








