|
|
| CGridColumnTraitMultilineEdit () |
| | CGridColumnTraitMultilineEdit - Constructor.
|
| |
| void | SetMaxLines (UINT nMaxLines) |
| | Set max number of lines that can the CEdit will display at a time For multiline editing then add these styles ES_MULTILINE | ES_WANTRETURN | ES_AUTOVSCROLL.
|
| |
| UINT | GetMaxLines () const |
| | Get max number of lines that can the CEdit will display at a time.
|
| |
Public Member Functions inherited from CGridColumnTraitEdit |
|
| CGridColumnTraitEdit () |
| | CGridColumnTraitEdit - Constructor.
|
| |
| void | SetStyle (DWORD dwStyle) |
| | Set style used when creating CEdit for cell value editing.
|
| |
| DWORD | GetStyle () const |
| | Get style used when creating CEdit for cell value editing.
|
| |
| void | SetLimitText (UINT nMaxChars) |
| | Set max number of characters the CEdit will accept.
|
| |
| UINT | GetLimitText () const |
| | Get max number of characters the CEdit will accept.
|
| |
| virtual CWnd * | OnEditBegin (CGridListCtrlEx &owner, int nRow, int nCol) |
| | Overrides OnEditBegin() to provide a CEdit cell value editor.
|
| |
| virtual CWnd * | OnEditBegin (CGridListCtrlEx &owner, int nRow, int nCol, CPoint pt) |
| | Overrides OnEditBegin() to allow special handling when clicking image or checkbox.
|
| |
Public Member Functions inherited from CGridColumnTraitImage |
|
| CGridColumnTraitImage () |
| | CGridColumnTraitImage - Constructor.
|
| |
| | CGridColumnTraitImage (int nImageIndex, int nImageCount) |
| | CGridColumnTraitImage - Constructor.
|
| |
| void | AddImageIndex (int nImageIdx) |
| | Adds image index to the list of images to switch between.
|
| |
| void | AddImageIndex (int nImageIdx, const CString &strImageText, bool bEditable=true) |
| | Adds image index to the list of images to switch between.
|
| |
| void | SetImageText (int nImageIdx, const CString &strImageText, bool bEditable=true) |
| | Updates the image text for the specified image index.
|
| |
| void | SetSortImageIndex (bool bValue) |
| | Should primary sorting be based on the image index (checkbox sorting)
|
| |
| bool | GetSortImageIndex () const |
| | Get whether primary sorting is based on image index (checkbox sorting)
|
| |
| void | SetToggleSelection (bool bValue) |
| | Should images (checkboxes) be flipped for all selected rows, when icon is clicked.
|
| |
| bool | GetToggleSelection () const |
| | Get whether images (checkboxes) should be flipped for all selected rows, when icon is clicked.
|
| |
| void | SetSingleClickEdit (bool bValue) |
| | Should cell editor be launched on first mouse-click, or should it wait for cell to have focus first.
|
| |
| bool | GetSingleClickEdit () const |
| | Get whether editor should be launched on first mouse-click.
|
| |
| void | SetIconClickBeginEdit (bool bValue) |
| | Configure whether the icon-click should trigger OnBeginEdit.
|
| |
| bool | GetIconClickBeginEdit () const |
| | Get whether mouse-click on icon, should also perform OnBeginEdit.
|
| |
Public Member Functions inherited from CGridColumnTraitText |
|
| CGridColumnTraitText () |
| | CGridColumnTraitText - Constructor.
|
| |
| virtual void | OnCustomDraw (CGridListCtrlEx &owner, NMLVCUSTOMDRAW *pLVCD, LRESULT *pResult) |
| | Overrides the custom draw handler, to allow custom coloring of cells with this column trait.
|
| |
| void | SetSortFormatNumber (bool bValue) |
| | Should cell values be compared as numbers when sorting.
|
| |
Public Member Functions inherited from CGridColumnTrait |
|
virtual | ~CGridColumnTrait () |
| | Destructor.
|
| |
| virtual void | OnInsertColumn (CGridListCtrlEx &owner, int nCol) |
| | Override OnInsertColumn() to provide your own special styling of the column, after column has been added.
|
| |
|
virtual void | OnEditEnd () |
| | Override OnEditEnd() in case one need to change state after a cell-edit.
|
| |
|
ColumnState & | GetColumnState () |
| |
|
BOOL | HasMetaFlag (DWORD flag) |
| |
|
void | SetMetaFlag (DWORD flag, bool enable) |
| |
CGridColumnTraitMultilineEdit implements a CEdit as multiline cell-editor.