“在MFC中,在formview内画一个圆" [英] "In MFC, draw a circle inside the formview"

查看:257
本文介绍了“在MFC中,在formview内画一个圆"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是MFC的新手..
只是尝试根据用户选项绘制圆形和矩形(如果用户选择圆形,则将绘制一个圆形).
为此,我想知道是否可以在formview内完成这些绘图,或者我们只能在formview内添加控件?

提前发短信!

问候
Pramooth

Hi All,

im new to MFC..
just trying to draw circle and rectangle based on user option(if user selects circle then a circle will be drawn).
For this, i would like to know whether these drawings can be done inside the formview or we can add only controls inside the formview?

tks in advance!

Regards
Pramooth

推荐答案

写道:​​

为此,我想知道是否这些图纸可以在formview内完成,还是我们只能在formview内添加控件?

For this, i would like to know whether these drawings can be done inside the formview or we can add only controls inside the formview?



处理绘画事件,您可以绘制任何喜欢的图像.

此外,您为什么要问三遍?我已经删除了其他两个.



Handle the paint event and you can draw anything you like.

To add, why did you ask this three times ? I''ve deleted the other two.


这篇关于“在MFC中,在formview内画一个圆"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆