CGXDaoGrid::GetOleViewerRowCol
virtual void GetOleViewerRowCol(ROWCOL nRow, ROWCOL nCol, DWORD dwId, CGXOleViewer*& pViewer)
nRow
Row
nCol
Column
dwId
The ID that is to be used to look up the viewer
pViewer
Pointer to CGXOleViewer object
Remarks
CGXOleView objects are looked up based on the ID stored in the user attribute, GX_IDS_UA_OLEVIEWERID. After this is done controls that make use of an Ole Viewer may call this method to give the grid a chance to change the viewer type. If you change the Viewer type (change the pointer), you do not have to release the instance of CGXOleViewer that was previously present if the calling control uses viewer manager for creating the viewers. CGXOlePreview uses this manager. If you have a custom control that does not use this, then you must release this.