Description: 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.
- [ComboTree_Sample] - what in the ListBox is A treeCtrl ComboB
- [GridCtrALLlDemo] - demonstration in the use of forms edit b
- [GRID_RELATION] - Grid Control (CGridCtrl) allows you to h
- [4X4key] - This procedure is a 4 × 4 keyboard mega1
- [ICL8038] - This is the ICL8038 function generator c
- [CGridCtrl] - There is a lot of people will not use th
- [GridTreeBotton] - Tree control and Buttons for MFC Grid co
File list (Check if you may need any files):
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