如何在visual stdio 2012中用c ++创建用户控件? [英] How do I make a user control in c ++, in visual stdio 2012?

查看:108
本文介绍了如何在visual stdio 2012中用c ++创建用户控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在visual stdio 2012中用c ++创建用户控件?

我在代码项目示例中看到过,但在2012年没有相同的选项。

解决方案

这与Visual Studio或C ++无关。控件是Windows对象,您可以通过从头开始编写一个或继承某些现有类型来创建自己的对象,如 https://msdn.microsoft.com/en-us/library/windows/desktop/bb773183(v = vs.85).aspx [ ^ ]。

How do I make a user control in c ++, in visual stdio 2012?
I saw in code project examples, but in 2012 doesn't have the same options.

解决方案

This is nothing to do with either Visual Studio or C++. Controls are Windows objects and you create your own by writing one from scratch or subclassing some existing type, as described in https://msdn.microsoft.com/en-us/library/windows/desktop/bb773183(v=vs.85).aspx[^].


这篇关于如何在visual stdio 2012中用c ++创建用户控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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