CGXGridHint::m_id
UINT m_id;
Remarks
Specifies the update-method. CGXGridCore supports the following ids.
| Id | Update-method |
| gxHintRedraw | RedrawWidth1Width3Width3402 Width3Width3402 |
| gxHintRedrawRowCol | RedrawRowColWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateChangedRowCount | UpdateChangedRowCountWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateChangedColCount | UpdateChangedColCountWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateChangedRowHeights | UpdateChangedRowHeightsWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateChangedColWidths | UpdateChangedColWidthsWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateInsertCols | UpdateInsertColsWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateInsertRows | UpdateInsertRowsWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateRemoveCols | UpdateRemoveColsWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateRemoveRows | UpdateRemoveRowsWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateMoveCols | UpdateMoveColsWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateMoveRows | UpdateMoveRowsWidth1Width3Width3402 Width3Width3402 |
| gxHintPrepareChangeSelection | PrepareChangeSelectionWidth1Width3Width3402 Width3Width3402 |
| gxHintPrepareClearSelection | PrepareClearSelectionWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateFrozenRows | UpdateFrozenRowsWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateFrozenCols | UpdateFrozenColsWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateStyleRange | UpdateStyleRangeWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateCoveredCellsRowCol | UpdateCoveredCellsRowColWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateZoom | UpdateZoomWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateReadOnly | UpdateReadOnlyWidth1Width3Width3402 Width3Width3402 |
| gxHintChangedTab | WM_GX_CHANGEDTAB messageWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateSelectRange | UpdateSelectRangeWidth1Width3Width3402 Width3Width3402 |
| gxHintTransferCurrentCell | TransferCurrentCellWidth1Width3Width3402 Width3Width3402 |
| gxHintStoreZoom | StoreZoomWidth1Width3Width3402 Width3Width3402 |
| gxHintSetTopRow | SetTopRowWidth1Width3Width3402 Width3Width3402 |
| gxHintSetLeftCol | SetLeftColWidth1Width3Width3402 Width3Width3402 |
| gxHintSyncCurrentCell | SetCurrentCellWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateFloatedCellsRowCol | UpdateFloatedCellsRowColWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateMergedCellsRowCol | UpdateMergedCellsRowColWidth1Width3Width3402 Width3Width3402 |
| gxHintLockSelectionFrame | LockSelectionFrameWidth1Width3Width3402 Width3Width3402 |
| gxHintMoveDataRows | UpdateMoveDataRowsWidth1Width3Width3402 Width3Width3402 |
| gxHintMoveDataCols | UpdateMoveDataColsWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateProperties | UpdatePropertiesWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateStylesMap | UpdateStylesMapWidth1Width3Width3402 Width3Width3402 |
| gxHintUpdateBaseStyle | UpdateBaseStyleWidth1Width3Width3402 Width3Width3402 |
| Width1Width3Width3402 Width3Width3402 gxHintRefreshViews | RefreshViewsWidth1Width3Width3402 Width3Width3402 |
Please note that if you want to use your own ids, they should have a value greater than gxLastHint to avoid conflicts with existing ids. So, in your application hint you can define your hint with
enum AppHint
{
AppFirstHint=gxLastHint,
Angelo,
Leonardo...
And in your view you can filter it with
void CMyGridView::OnUpdate(CView* Sender, LPARAM Hint, CObject* Obj){
if( AppFirstHint <= Hint && Hint <=AppLastHint )
{
....
}
else if( gxFirstHint <= Hint && Hint <=gxLastHint )
CGXGridView::OnUpdate(Sender, Hint, Obj);
}






