文件名称:gridctrl_demo220
- 所属分类:
- 界面编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 202kb
- 下载次数:
- 0次
- 提 供 者:
- m***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Using comboboxes in the MFC Grid Control
Since I posted my MFC grid control I ve had a lot of requests asking how to use other methods of editing cells in the grid. Ken Bertelson has taken this to the extreme, with his Grid Tree control. For some this was a little too involved, so I ve created a demo project that shows how to replace the default editing with a simple combo box.
Previous methods of achieving this required that a new CGridCtrl derived class be created. With the new structure in the 2.X versions of CGridCtrl it s now a lot simpler. -Using comboboxes in the MFC Grid ControlSince I posted my MFC grid control I ve had a lot of requests asking how to use other methods of editing cells in the grid. Ken Bertelson has taken this to the extreme, with his Grid Tree control. For some this was a little too involved, so I ve created a demo project that shows how to replace the default editing with a simple combo box. Previous methods of achieving this required that a new CGridCtrl derived class be created. With the new structure in the 2 . X versions of CGridCtrl it s now a lot simpler.
Since I posted my MFC grid control I ve had a lot of requests asking how to use other methods of editing cells in the grid. Ken Bertelson has taken this to the extreme, with his Grid Tree control. For some this was a little too involved, so I ve created a demo project that shows how to replace the default editing with a simple combo box.
Previous methods of achieving this required that a new CGridCtrl derived class be created. With the new structure in the 2.X versions of CGridCtrl it s now a lot simpler. -Using comboboxes in the MFC Grid ControlSince I posted my MFC grid control I ve had a lot of requests asking how to use other methods of editing cells in the grid. Ken Bertelson has taken this to the extreme, with his Grid Tree control. For some this was a little too involved, so I ve created a demo project that shows how to replace the default editing with a simple combo box. Previous methods of achieving this required that a new CGridCtrl derived class be created. With the new structure in the 2 . X versions of CGridCtrl it s now a lot simpler.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
gridctrl_demo220
................\GridCtrlDemo.clw
................\GridCtrlDemo.cpp
................\GridCtrlDemo.dsp
................\GridCtrlDemo.dsw
................\GridCtrlDemo.exe
................\GridCtrlDemo.h
................\GridCtrlDemo.rc
................\GridCtrlDemoCE.dsp
................\GridCtrlDemoCE.dsw
................\GridCtrlDemoDlg.cpp
................\GridCtrlDemoDlg.h
................\gridctrl_in_view
................\................\ChildFrm.cpp
................\................\ChildFrm.h
................\................\GridViewDemo.clw
................\................\GridViewDemo.cpp
................\................\GridViewDemo.dsp
................\................\GridViewDemo.dsw
................\................\GridViewDemo.h
................\................\GridViewDemo.rc
................\................\GridViewDemoDoc.cpp
................\................\GridViewDemoDoc.h
................\................\GridViewDemoView.cpp
................\................\GridViewDemoView.h
................\................\MainFrm.cpp
................\................\MainFrm.h
................\................\ReadMe.txt
................\................\res
................\................\...\GridViewDemo.rc2
................\................\resource.h
................\................\StdAfx.cpp
................\................\StdAfx.h
................\GridCtrl_src
................\............\CellRange.h
................\............\Experimental Upgrades
................\............\.....................\GridCellLite.cpp
................\............\.....................\GridCellLite.h
................\............\.....................\InPlaceList.cpp
................\............\.....................\InPlaceList.h
................\............\.....................\TitleTip.cpp
................\............\.....................\TitleTip.h
................\............\GridCell.cpp
................\............\GridCell.h
................\............\GridCellBase.cpp
................\............\GridCellBase.h
................\............\GridCtrl.cpp
................\............\GridCtrl.h
................\............\GridDropTarget.cpp
................\............\GridDropTarget.h
................\............\InPlaceEdit.cpp
................\............\InPlaceEdit.h
................\............\MemDC.h
................\............\TitleTip.cpp
................\............\TitleTip.h
................\NewCellTypes
................\............\GridCellCombo.cpp
................\............\GridCellCombo.h
................\............\GridURLCell.cpp
................\............\GridURLCell.h
................\res
................\...\GridCtrlDemo.rc2
................\...\Toolbar.bmp
................\resource.h
................\StdAfx.cpp
................\StdAfx.h
................\GridCtrlDemo.clw
................\GridCtrlDemo.cpp
................\GridCtrlDemo.dsp
................\GridCtrlDemo.dsw
................\GridCtrlDemo.exe
................\GridCtrlDemo.h
................\GridCtrlDemo.rc
................\GridCtrlDemoCE.dsp
................\GridCtrlDemoCE.dsw
................\GridCtrlDemoDlg.cpp
................\GridCtrlDemoDlg.h
................\gridctrl_in_view
................\................\ChildFrm.cpp
................\................\ChildFrm.h
................\................\GridViewDemo.clw
................\................\GridViewDemo.cpp
................\................\GridViewDemo.dsp
................\................\GridViewDemo.dsw
................\................\GridViewDemo.h
................\................\GridViewDemo.rc
................\................\GridViewDemoDoc.cpp
................\................\GridViewDemoDoc.h
................\................\GridViewDemoView.cpp
................\................\GridViewDemoView.h
................\................\MainFrm.cpp
................\................\MainFrm.h
................\................\ReadMe.txt
................\................\res
................\................\...\GridViewDemo.rc2
................\................\resource.h
................\................\StdAfx.cpp
................\................\StdAfx.h
................\GridCtrl_src
................\............\CellRange.h
................\............\Experimental Upgrades
................\............\.....................\GridCellLite.cpp
................\............\.....................\GridCellLite.h
................\............\.....................\InPlaceList.cpp
................\............\.....................\InPlaceList.h
................\............\.....................\TitleTip.cpp
................\............\.....................\TitleTip.h
................\............\GridCell.cpp
................\............\GridCell.h
................\............\GridCellBase.cpp
................\............\GridCellBase.h
................\............\GridCtrl.cpp
................\............\GridCtrl.h
................\............\GridDropTarget.cpp
................\............\GridDropTarget.h
................\............\InPlaceEdit.cpp
................\............\InPlaceEdit.h
................\............\MemDC.h
................\............\TitleTip.cpp
................\............\TitleTip.h
................\NewCellTypes
................\............\GridCellCombo.cpp
................\............\GridCellCombo.h
................\............\GridURLCell.cpp
................\............\GridURLCell.h
................\res
................\...\GridCtrlDemo.rc2
................\...\Toolbar.bmp
................\resource.h
................\StdAfx.cpp
................\StdAfx.h