网格控件是MFC控件或第三方控件 [英] Grid control is MFC Control or Third Party Control

查看:91
本文介绍了网格控件是MFC控件或第三方控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.
我在Google中搜索,但从未获得有关GridControl的正确信息.
谁能帮我了解GridControl.
如果GridConttrol是第三方控件",则如何在基于MFC对话框的应用程序中获取它. vs2005中是否必须插入任何.dll或.lib fils.

问候
sarath

Hi all.
I searched in google but never got proper info about GridControl.
Can any one help me to know about GridControl.
If the GridConttrol is Third Party Control how to get it in MFC Dialog-based Application. Does any .dll or .lib fils have to be inserted in vs2005.

regards
sarath

推荐答案

如果在Mfc中将CGridcontrol用于基于对话框的应用程序,则应将所有网格文件添加到当前项目文件夹中.
和#include"GridCtrl.h"

将提供对CGridCtrl对象的引用.

有关更多信息,请参见

网格控件示例

:rolleyes::rolleyes:
If you used CGridcontrol for dialog based application in mfc then you should add all grid files in currrent project folder.

and #include "GridCtrl.h"

will give the reference to CGridCtrl object.

for more information please see

Grid control example

:rolleyes: :rolleyes:


网格控件是ActiveX组件.要将其添加到对话框窗口,只需右键单击对话框窗口,然后选择插入ActiveX控件",然后从对话框中选择网格类型,例如componentOne Flexgrid8.0.

希望对您有所帮助.
The grid control is a ActiveX Component. To add this to your dialog window just right click on dialog window , then select "insert ActiveX Control" then select a grid type from your dialog box for example componentOne Flexgrid8.0.

I hope this will help you.


这是一个ActiveX组件,msflxgrd.ocx文件负责Microsoft提供的与网格相关的操作.

要在基于MFC对话框的应用程序中获取它,您应该正确注册msflxgrd.ocx,您可以使用regsvr32实用工具来进行此操作.然后右键单击要添加msflexgird控件的对话框,从弹出菜单中选择插入ActiveX控件",然后打开插入ActiveX控件"对话框,从ActiveX控件列表中选择要添加的内容.
It is a ActiveX Component and msflxgrd.ocx file is reponsible for grid related operations which is provided by Microsoft.

To get it in MFC Dialogbased Application, you should register msflxgrd.ocx correctly, you can do this with regsvr32 utility tool. And then right-click the dialog you want to add an msflexgird control, select "Insert ActiveX control" from the popped menu, then the "Insert ActiveX control" dialog opens, select from the ActiveX control list what you’d like to add.


这篇关于网格控件是MFC控件或第三方控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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