CMFCPropertyGrid CDateTimeCtrl [英] CMFCPropertyGrid CDateTimeCtrl

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

问题描述

大家好。有没有办法将CDateTimeCtrl插入CMFCPropertyGrid?我没有在MSDN上看到一个例子......谢谢。

Hi all of you. Is there a way to insert a CDateTimeCtrl into an CMFCPropertyGrid ? I didn't saw an example on MSDN ... thank you.

推荐答案

你好mesajflaviu,

Hi mesajflaviu,

谢谢在这里发布。

>>大家好。有没有办法将CDateTimeCtrl插入CMFCPropertyGrid?我没有在MSDN上看到一个例子......谢谢。

在我看来,你不能这样做。您只能添加
CMFCPropertyGridProperty

CMFCPropertyGridColorProperty

CMFCPropertyGridFileProperty

CMFCPropertyGridFontProperty

CMFCPropertyGridToolTipCtrl 
对象进入CMFCPropertyGridCtrl。

In my opinion, you couldn't do that. You could only add CMFCPropertyGridProperty, CMFCPropertyGridColorProperty , CMFCPropertyGridFileProperty , CMFCPropertyGridFontProperty and CMFCPropertyGridToolTipCtrl objects into CMFCPropertyGridCtrl.

但在搜索之后,我发现这个文档实现了具有时间控制的自定义属性网格控件。

But after searching, I found this document which implement a custom property grid control with time control.

https://www.codeproject.com/Articles/77957/Win-SDK-PropertyGrid-Made-Easy

希望这可能对你有帮助。

Hope this could be help of you.

最好的问候,

Sera Yu


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

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