如何使自定义按钮以我想要的方式表现? [英] How To Make Custom Buton Behave In The Way I Want?

查看:76
本文介绍了如何使自定义按钮以我想要的方式表现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的大家,

我关注这篇文章:

https://msdn.microsoft.com/en-us/library/vstudio/552z1tz3%28v=vs.100%29.aspx [ ^ ]

我想让自定义按钮内的Ellipse变成红色。



但我不知道怎么做。

我试过这篇文章

[ ^ 。但是当他想要我的时候不知道怎么办(我用新手机MFC ACTIVEX CONTROL)使用DialogBox命令设置对话框,正常情况下。如何???

我的目标:

我只想让我的按钮的形状为ROUND,当用户点击它时会变成红色。

但我没有看到任何这样的教程(早期新手容易)。



请一步一步向我展示tems。所以我能理解。

我尝试了很多材料,但这对我来说太难了。

提前感谢。

全心全意。

Dear everyone,
I follow This article:
https://msdn.microsoft.com/en-us/library/vstudio/552z1tz3%28v=vs.100%29.aspx[^]
and i want to make the Ellipse inside custom button into red color.

But i don't know how.
I tried this article
[^]. but don't know how to do( I AM NEWBIE with MFC ACTIVEX CONTROL) when he want me "Set up your dialog box using the DialogBox command as you would normally". How???
My GOAL:
I just want to make my button have a shape as ROUND and into red when user click on it.
But i don't see any tutorial like that (easy for an early newbie).

Please show me in step by step tems. So that i can understand.
I tried many materials but it is too hard for me.
Thank in advance.
With all my heart.

推荐答案

这里没有人可能会提供一步按步骤说明;这需要太长时间。我建议(因为你是一个新手),你选择一些更简单的例子来研究,并研究一些更多的教程。尝试 https://www.google.com/search?q=mfc+activex [ ^ ]。
No one here is likely to provide step by step instructions for this; it would take too long. I suggest (as you are a newbie) that you choose some simpler example to work on, and study some more tutorials. Try https://www.google.com/search?q=mfc+activex[^].


非常感谢,但我在发布之前尝试过。从创业日起3天。
Thank a lot, but i tried it before posting. It's been 3 days from the startup day.


这篇关于如何使自定义按钮以我想要的方式表现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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