当前位置:网站首页>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;
}
边栏推荐
- Advanced C language (realize simple address book)
- tmall. product. schema. Get (product information acquisition schema acquisition), Taobao store upload commodity API interface, Taobao commodity publishing interface, Taobao commodity upload API interf
- kityformula-editor 配置字号和间距
- Li Chuang EDA learning notes 15: draw border or import border (DXF file)
- 蜻蜓低代码安全工具平台开发之路
- taobao.trade.memo.add( 对一笔交易添加备注 )接口,淘宝店铺插旗接口,淘宝订单插旗API接口,oAuth2.0接口
- Borui data integrated intelligent observable platform was selected into the "Yunyuan production catalogue" of China Academy of communications in 2022
- STM32标准固件库函数名记忆(二)
- Tmall product details interface (APP, H5 end)
- 【apipost】使用教程
猜你喜欢

Kityformula editor configure font size and spacing

Uniapp automated test learning

C code audit practice + pre knowledge

fatal: unsafe repository is owned by someone else 的解决方法

关于网页中的文本选择以及统计选中文本长度

Development and design of animation surrounding mall sales website based on php+mysql

Wechat applet uses towxml to display formula

The use of TestNG, the testing framework (II): the use of TestNG XML

C语言习题---(数组)

Socket and socket address
随机推荐
[development environment] StarUML tool (download software | StarUML installation | StarUML creation project)
MFC 控制台打印,弹出对话框
【NOI模拟赛】刮痧(动态规划)
【apipost】使用教程
Bit by bit of OpenCV calling USB camera
Fundamentals of software testing
Stm32-dac Experiment & high frequency DAC output test
MQ tutorial | exchange (switch)
NLA natural language analysis makes data analysis more intelligent
OpenCV调用USB摄像头的点滴
[development environment] install the visual studio community 2013 development environment (download the installation package of visual studio community 2013 with update 5 version)
求轮廓最大内接圆
报错:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
Fabric. Usage of JS eraser (including recovery function)
为什么只会编程的程序员无法成为优秀的开发者?
taobao.trades.sold.get-查询卖家已卖出的交易数据(根据创建时间),淘宝店铺卖出订单查询API接口,淘宝R2接口,淘宝oAuth2.0交易接口代码分享
字符串匹配问题
MathML to latex
Ad20 cannot select the solution of component packaging in PCB editor
##51单片机实验之简易验证码发生器