本文介绍了C ++多个窗口形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

> HELLO全部,

我在使用c ++ Windows窗体时遇到问题...我想从第一个窗体和第二个窗体调用第二个窗体,当我按下按钮时,第一个窗体的文本或标签会发生变化.... plz plz我非常需要这个,这不是教程

>HELLO all,

i have problem using c++ windows forms...i want to call second form from first form and from second form when i press button the text or label at first form changes....plz plz i badly need this their is no tutorial

推荐答案

DialogBox(hInstance, MAKEINTRESOURCE(DLG_MAIN), NULL, (DLGPROC)MainDialogProc);



在那里,您已经完成并完成了它. 67行代码,38行resource.rc



There you have it, done and done. 67 lines of code, 38 lines of resource.rc


这篇关于C ++多个窗口形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-13 12:17