本文介绍了SDI中的对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我创建了一个mfc sdi应用程序.我还通过菜单栏在自己的sdi中添加了一个对话框.现在,我的对话框中有一个复选框,并在sdi中填充了红色的椭圆.现在,我的要求是更改复选框上的颜色.我已经做了一切.但是如何告诉复选框单击到OnDraw,意味着如何将值传递给OnDraw.请给我一些想法????? ..

在此先感谢您.

Hi,

I have created an mfc sdi application. I have also included a dialog box in my sdi through menu bar. Now I have a check box in my dialog and an ellipse filled with red color in sdi. Now my requirement is to change the color on the check box click. I''ve done everything. But how can I tell the check box click to OnDraw, means how to pass the value to OnDraw. Please give me some ideas?????..

Thanks in advance.

推荐答案


这篇关于SDI中的对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 13:11