Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Classes

Assign Assigns the data and properties (such as cell styles, the user-defined LPARAM value, and icon index) of another cell to this CExtGridCell object.
AssignColors �Assigns the color values of another cell to this CExtGridCell object.
BackColorGet Retrieves the background color of the cell for the specified cell state. The COLORREF(-1) value means there are no preferred background color value was specified for grid cell. The cell states are described in the BackColorSet() method description.
BackColorSet Sets the background color of the cell for the specified cell state. The COLORREF(-1) value means there are no preferred background color value.
CExtGridCell Default and copy constructors.
Clone Returns a cloned copy of the CExtGridCell object or NULL if the memory allocation failed.
Compare Compares this object with another CExtGridCell object� and returns zero if two objects are equal, a negative value if this object is less than another, and a positive value if this object is greater than another. Prof-UIS 2.87 and later invokes the CExtGridCell::CompareEx() method for cell comparison.
CompareEx Compares this object with another CExtGridCell object and returns zero if two objects are equal, a negative value if this object is less than another, and a positive value if this object is greater than another. Default implementation invokes the CExtGridCell::Compare() method.
CompareColors Compares the text and background colors of this cell with the colors of some other cell and returns 0 if the color values are equal, -1 if the color values of this cell are less than the color values of another cell and 1 if the color values of this cell are greater than the color values of another cell.
CompareStyleOnly Compares the basic and/or extended styles of this cell object with those of another object. The method returns zero if two objects are equal, a negative value if this object is less than another, and a positive value if this object is greater than another.
ContentTipGet Gets the content tip text. It can be either plain text or HTML.
ContentTipSet Sets the content tip.
DataProviderGet Returns a pointer to the data provider object which manages the cell object.
DataProviderSet Attaches or detaches this CExtGridCell object to the data provider object and returns the pointer to the previous data provider.
Empty Empties all the data associated with the cell.
ExtentGet Retrieves the extent value used by the grid control for the column width or row height and returns true if the cell object supports the feature of storing extents. The grid control queries the outer cells for the extent values when it needs to know the column width or row height. The current extent value should be greater than or equal to the minimum extent value and less than or equal to the maximum extent value. If the minimum and maximum extent values are equal to each other, then the row/column resizing is not available.
ExtentPercentGet Gets the ratio of the width/height of the cell in the outer row/column to the total width/height of all columns/rows. The method returns true if the cell object supports storing this ratio.
ExtentPercentSet Sets the ratio of the width/height of the cell in the outer row/column to the total width/height of all columns/rows. The method returns true if the cell object supports storing this ratio.
ExtentSet Sets the extent value used by the grid control for the column width or row height and returns true if the cell object supports the feature of storing extents. The grid control queries the outer cells for the extent values when it needs to know the column width or row height. The current extent value should be greater than or equal to the minimum extent value and less than or equal to the maximum extent value. If the minimum and maximum extent values are equal to each other, then the row/column resizing is not available.
ExtraSpaceGet Retrieves the extra space value used by the grid control to organize the custom-painted areas around columns and/or rows. The method returns true if the cell object supports this feature. The default implementation always returns false. This feature is implemented in the CExtGCE template decorator class and used by the CExtGridCellHeader cell type. The grid control gets the extra space values from the outer cells when it needs to calculate the layout of columns and rows.
ExtraSpaceSet Sets the extra space value used by the grid control to organize the custom-painted areas around columns and/or rows. The method returns true if the cell object supports this feature. The default implementation always returns false. This feature is implemented in the CExtGCE template decorator class and used by the CExtGridCellHeader cell type. The grid control gets the extra space values from the outer cells when it needs to calculate the layout of columns and rows.
FontCharsetGet Gets the character set (see LOGFONT::lfCharSet defined in Windows SDK) and returns true if this property was set with FontCharsetSet() or false if it is determined by the font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont())..
FontCharsetSet Sets the character set of the font (see LOGFONT::lfCharSet defined in Windows SDK).
FontCharsetSetDefault Resets the character set of the font to the value determined by the default font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontFaceNameGet Gets the face name of the font (see LOGFONT::lfFaceName defined in Windows SDK). and returns true if this property was set with FontFaceNameSet() or false if it is determined by the font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontFaceNameSet Sets the face name of the font (see LOGFONT::lfFaceName defined in Windows SDK).
FontFaceNameSetDefault Resets the face name of the font to the value determined by the default font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontGet Returns a handle of the custom font that was set with the CExtGridCell::FontIndexSet() method. The method returns NULL if the default grid font is used.
FontHeightGet Gets the font height (see LOGFONT::lfHeight defined in Windows SDK) and returns true if this property was set with the CExtGridCell::FontHeightSet() method or false if it is determined by the font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontHeightSet Sets the custom font height (see LOGFONT::lfHeight defined in Windows SDK).
FontHeightSetDefault Resets the font height to the value determined by the default font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontIndexGet Returns the index of the custom font set with the CExtGridCell::FontIndexSet() method. The method returns a negative value if no custom font was set.
FontIndexSet Sets a custom font for the cell or resets the font to the default value.
FontItalicGet Gets the flag which indicates if the font is italic (see LOGFONT::lfItalic defined in Windows SDK) and returns true if this property was set with CExtGridCell::FontItalicSet() or false if it is determined by the font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontItalicSet Sets the flag which indicates if the font is italic or non-italic (see LOGFONT::lfItalic defined in Windows SDK).
FontItalicSetDefault Resets the italic property of the font to the value determined by the default font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontQualityGet Gets the font quality (see LOGFONT::lfQuality defined in Windows SDK) and returns true if this property was set with FontQualitySet() or false if it is determined by the font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontQualitySet Sets the font quality (LOGFONT::lfQuality in Windows SDK).
FontQualitySetDefault Resets the font quality to the value determined by the default font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontStrikeOutGet Gets the flag which indicates that the font is strikeout (see LOGFONT::lfStrikeOut defined in Windows SDK) and returns true if this property was set with FontStrikeOutSet() or false if it is determined by the font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontStrikeOutSet Sets the flag which indicates if the font is strikeout (see LOGFONT::lfStrikeOut defined in Windows SDK).
FontStrikeOutSetDefault Resets the strikeout property of the font to the value determined by the default font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontUnderlineGet Gets the flag which indicates if the font is underlined (see LOGFONT::lfUnderline defined in Windows SDK) and returns true if this property was set with FontUnderlineSet() or false if it is determined by the font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontUnderlineSet Sets the flag which indicates whether the font has underline effect (see LOGFONT::lfUnderline defined in Windows SDK).
FontUnderlineSetDefault Resets the font underline property to the value determined by the default font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontWeightGet Gets the font weight (see LOGFONT::lfWeight defined in Windows SDK) and returns true if this property was set with FontWeightSet() or false if it is determined by the font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontWeightSet Sets the preferred font weight (see LOGFONT::lfWeight defined in Windows SDK).
FontWeightSetDefault Resets the font weight to the value determined by the default font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontWidthGet Gets the font width (see LOGFONT::lfWidth defined in Windows SDK) and returns true if this property was set with FontWidthSet() or false if it is determined by the font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
FontWidthSet Sets the preferred font width (see LOGFONT::lfWidth defined in Windows SDK).
FontWidthSetDefault Resets the font width to the value determined by the default font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()).
GetMenuTrackingCell Returns a pointer to the CExtGridCell object which is currently tracking some popup menu. The method returns NULL if there is no grid cell at the moment which tracks any kind of popup menu.
GetStyle Returns a DWORD value that specifies the basic grid cell styles.
GetStyleEx Returns a DWORD value that specifies the extended grid cell styles.
GetTextBuffer Returns a pointer to the internal text buffer. The method may return NULL if the CExtGridCell object does not use the zero-terminated string buffer for keeping data.
GetVariant Saves the cell data to the VARIANT-structure specified by the varCopy parameter.
IconGet Returns a pointer to the CExtCmdIcon object which represents the icon associated with the cell object. The method returns NULL if the cell has no icon. The default implementation uses the icon index to get the icon from the data provider component.
IconGetSize Returns the size of the icon associated with the cell. The method may return a non-zero size even if the cell object has no icon. The CExtGridCellColor cell object overrides this method to reserve some part of the cell area for displaying the rectangle filled with a color.
IconIndexGet Returns index of the cell icon in the icons collection of the data provider object which manages this cell object. If returned value is less than zero then cell object has no icon.
IconIndexSet Associates an icon stored in the icon collection of the data provider object with this CExtGridCell object. Pass a negative value as the icon index to specify that this object has no icon. The method returns the previous index.
InstanceCreate Creates a new object of the specified cell type.
InstanceDestroy Destroys the specified cell object and performs the memory deallocation.
InstanceLoad Returns a pointer to the newly created cell object which is loaded from the archive. If the bThrowException parameter is set to false, the method neither generates C++ exceptions and nor performs interception of archive and memory exceptions and may return NULL.
InstanceSave Saves the runtime type information and cell object to archive. If the bThrowException parameter is set to false, the method neither generates C++ exceptions and nor performs interception of archive and memory exceptions and may return false. The method returns true if succeeded.
IsButtonEnabled Returns true if the built-in button specified by the nButtonType parameter is enabled.
IsButtonPressed Returns true if the built-in button specified by the nButtonType parameter is pressed.
IsButtonStayPressed Returns true if the built-in button specified by the nButtonType parameter is always kept pressed when the grid control is tracking the mouse press event for this button.
IsEmpty Returns true if all the data associated with the cell are empty.
IsInvisible Returns true if the cell content is hidden.
IsUndefined Returns true if the __EGCS_EX_UNDEFINED_ROLE is applied to the cell.
JoinGet Returns a CSize object that describes how the cell is merged with its neighboring cells.
JoinSet Sets how the cell is merged with it neighboring cells.
LParamGet Returns the user-defined LPARAM value associated with the cell object.
LParamSet Sets the user-defined LPARAM value and returns the previous value.
MeasureCell Measures the cell and returns its size in pixels.
ModifyStyle Modifies the basic cell styles and returns the DWORD value that specifies the previous styles.
ModifyStyleEx Modifies the extended cell styles and returns the DWORD value that specifies the previous styles.
Reset Resets cell to its default value.
ResetColors Resets the test and background colors representing different states (normal, hovered, selected etc) of the cell to its default values.
ResetJoin Sets that the cell is not merged.
Serialize Serializes the cell object.
SerializeColors Serializes the color values of the grid cell.
SerializeJoin Serializes how the cell is merged with its neighboring cells to an archive.
stat_VariantCompare Performs the comparison of two VARIANT variables and returns a negative value if the left is less than the right, a positive value if the left is greater than the right, or zero if two variables are equal. NOTE: This is a helper static method.
stat_VariantCompareHR Performs the comparison of two VARIANT variables and returns the result defined by the standard OLE API VarCmp. NOTE: This is a helper static method.
stat_VariantSerialize Performs serialization of the VARIANT value. Two overloaded versions� allow you to use the MFC archive object or OLE stream object. The method returns S_OK (the standard HRESULT value) if succeeded. NOTE: These are helper static methods.
TextColorGet Retrieves the text color of the cell for the specified cell state. The COLORREF(-1) value means there are no preferred text color value was specified for grid cell. The cell states are described in the TextColorSet
TextColorSet Sets the text color of the cell for the specified cell state. The COLORREF(-1) value means there are no preferred text color value.
TextGet Saves the cell data as a text string to the string object specified by the strCopy parameter.
TextSet Assigns the zero-terminated string to the cell data. If the string format does not correspond to the cell data type and the bAllowChangeDataType parameter is set to false, the method may do nothing. To check the string format, you can call CExtGridCell::OnParseText() method.
TextSetOnPaste Assigns the zero-terminated string to the cell data. Invoked on clipboard text paste to the grid control.

Overridables

OnAccelCommand Called for processing the standard accelerator commands defined by one of the __EGSA_*** flags. Returns flag which indicates whether the command is handled successfully. In case of commands like copy and cut, the grid control invokes this virtual method for all the selected grid cells.
OnAccelCommandComplete Called after the standard accelerator commands defined by one of the __EGSA_*** flags is handled. In case of commands like copy and cut, the grid control invokes this virtual method for all the selected grid cells.
OnAdjustMeasureTextFlags Modifies a set of standard Win32 API's DT_* flags used by default for both drawing and measuring grid cell�s text. The method is invoked before the text measurement.
OnButtonPopupMenuComplete Called to analyze the item selection in the popup list box and modify the cell value. The method returns true if the cell data has been successfully changed.
OnButtonPopupMenuTrack Called to track the list box menu associated with the built-in button when the button is clicked. The method returns true if the menu has been successfully tracked and the cell data has been replaced with selected menu item.
OnButtonPressed Called when the built-in button specified by the nButtonType parameter is clicked.
OnButtonPressing Called periodically when the grid control tracks mouse clicks over the built-in button. This feature is used by the built-in up/down button and can be disabled by overriding the OnQueryButtonInfo() method.
OnCalcButtonExtent Returns the width, in pixels, of the built-in button specified by the nButtonType paramether.
OnCalcCheckSize Returns the CSize object that specifies the size of the built-in check box or radio circle.
OnCalcFocusArrowSize Returns the size, in pixels, of the focus arrow.
OnCalcLayout Calculates the layout and rectangles, in pixels, of all the standard inner parts of the cell. Set the output arguments to NULL if you are not interested in these values.
OnCalcSortArrowSize Returns the size, in pixels, of the sort arrow.
OnCellPressingEnter Called by the grid control when it starts tracking the mouse-click event over the cell object. The method returns true if the cell object has performed its own custom mouse tracking procedure. The default implementation does nothing and always returns false.
OnCellPressingLeave Called by the grid control when it has finished tracking the mouse-click event over the cell object. The method returns true if the cell object has performed its own custom mouse tracking procedure. The default implementation does nothing and always returns false.
OnCellPressingStateChanged Called by the grid control when it tracks the mouse-click event over the cell object.
OnChangeButtonPressedState Called when the grid control tracks the mouse-click event over the built-in button specified by the nButtonType parameter.
OnClick Called when the mouse button specified by the nChar parameter is pressed, released or double clicked over the cell. The method returns true if the cell object has handled the event specified by the nRepCnt parameter. Values 1 and 3 specify the single-click event. The former is passed when the method is invoked for the first time (the focus/selection has changed). The latter is passed if the in-place editor window can be activated.
OnContentTip Called to display content tip. Returns flag indicating whether content tip was displayed.
OnFormatHeaderNumberString Called to save the row/column number into the string object specified by the strText parameter. This method is used by the outer cell object with the __EGCS_HDR_ROW_COLUMN_NUMBER flag set on.
OnGetToolTipText Called to retrieve the grid cell tooltip text.
OnHitTestInfoAdjust Called to fill the hit-test object with additional information on the inner parts of the cell.
OnHover Called when the mouse pointer hovers over the cell. If only the bHoverEnter is true, the mouse pointer is moved into the cell area. If only the bHoverLeave is true, the mouse pointer left out the cell area. If both bHoverEnter and bHoverLeave are false, the mouse pointer moved staying within the cell area.
OnInitAdvancedTip Initializes the properties of the popup menu tip window object reference to which is specified in method parameters. Returns flag indicating operation success.
OnInitExpandWnd Calculates the layout and activates the contents pop-up window to display the partially visible contents of the cell. The method returns true if the contents pop-up window has been activated. The default implementation only shows the contents of the text area.
OnInitToolTip Called to initialize the tooltip control and returns true if succeeded.
OnInplaceControlCreate Called to create and activate the child window used as an in-place editor. The method returns a Handle to the editor or NULL if creation failed or the cell cannot be edited. The grid control runs the message loop for the editor until the window associated with the in-place editor is destroyed.
OnInplaceControlDateTimeInputComplete Notifies the date/time cell object about deactivation of the in-place editor.
OnInplaceControlDateTimeInputVerify Called when the user is typing the date/.time text in the in-place editor of the date/time cell. The method returns true if the text data has a valid date/time format.
OnInplaceControlDurationInputComplete Notifies the duration cell object about deactivation of the in-place editor.
OnInplaceControlDurationInputVerify Called when the user is typing the duration text in the in-place editor of the duration cell. The method returns true if the text data has a valid duration format.
OnInplaceControlHotKeyInputComplete Called to notify that the in-place editor for the hot key cell is destroyed.
OnInplaceControlHotKeyInputVerify Called when the user is typing the hot key text in the in-place editor of the hot key cell. The method returns true if the text data has a valid hot key format.
OnInplaceControlIdle Called to handle the idle time when the cell is being edited. The method returns false after the idle time processing has finished or true if the method should be called again with an incremented value of the nIdleCounter parameter.
OnInplaceControlIPAddressInputComplete Called to notify the IP address cell object that the in-place editor is destroyed.
OnInplaceControlIPAddressInputVerify Called when the user changes the IP address in the in-place editor. The method returns true if the IP address is valid or false otherwise.
OnInplaceControlPreTranslateMessage Performs the message pre-translation for the in-place active editor and returns true if the message has been successfully filtered by the cell object.
OnInplaceControlQueryStyle Called to get the read-only option, password option, background color and text color of the in-place activated edit control.
OnInplaceControlSliderInputComplete Called to notify the slider cell object that the in-place editor is destroyed.
OnInplaceControlSliderInputVerify Called when the user changes the slider position in the in-place editor. The method returns true if the slider position is valid or false otherwise.
OnInplaceControlTextInputComplete Called to notify the cell object that the in-place editor is destroyed.
OnInplaceControlTextInputVerify Called when the user changes the text in the in-place editor. The method returns true if the text is valid or false otherwise.
OnInplaceControlWindowProc Performs spying on the window procedure of the in-place editor and returns true if the Windows message has been handled by the cell object.
OnJoinQueryInfo Returns a CSize object that describes how a cell is merged with its neighboring cells.
OnKey Called when the cell is processed a key event of the grid control. The method returns true if the event has been handled.
OnMeasureBestFitExtent Returns the width or height of the grid cell in pixels.
OnMeasureTextSize Returns the size of the cell text in pixels.
OnOuterDndComplete Notifies both the drag-and-dropped cell and the target cell about finishing the drag-n-drop operation of the outer cell. The method returns true if the rows/columns have been swapped. The default implementation does nothing and always returns false.
OnOuterDndOut Notifies the drag-and-dropped cell about finishing of the drag-and-drop operation of the outer cell when it is dropped outside the area occupied by the outer cells. The method returns true if the rows/columns have been successfully. The default implementation does nothing and always returns false.
OnOuterDndTrack Called to perform the custom drag-and-drop algorithm for the outer cells and should return true if the drag-and-drop is supported. The default implementation does nothing and always returns false.
OnPaintBackground Paints the entire background of the cell. The default implementation paints only 3D background of the outer cells. By default, the inner cells use the background of the grid control.
OnPaintButton Paints the built-in button.
OnPaintCheck Paints the built-in check box or radio circle.
OnPaintExpandedContent Called to paint the client area if the tooltip-like contents pop-up window. The method returns true if the contents has been painted.
OnPaintForeground Paints the entire foreground of the cell. The default implementation calls a set of overridable methods of the cell to calculate the layout and paint each part of the cell.
OnPaintIcon Paints the cell icon.
OnPaintRestArea Paints the rest area of the grid cell which is free from all the built-in cell parts like icon, text and buttons.
OnPaintSortArrow Paints the sort arrow.
OnPaintText Paints the text of the cell.
OnParseAutoEditStartText The method is called when the user starts editing the cell content by typing a first symbol and returns true if the editing can continue or false.
OnParseText Performs the parsing of the text specified by the sText parameter. If the text has a valid format corresponding to the cell internal data type, the method should return S_OK. Otherwise, it should return a parser-specific error code that is less than zero (for instance, E_FAIL or E_UNEXPECTED). The CExtGridCellVariant class uses the OLE automation API to verify whether the text data can be successfully converted to the corresponding VARIANT type.
OnPopupListBoxCalcItemExtraSizes Called to calculate the extra space around the list box item in the popup menu tracked by the built-in button in pixels.
OnPopupListBoxClose Called to notify that the pop-up list box displayed from the grid cell is closed and returns true.
OnPopupListBoxInitContent Called to initialize the items of the list box control in the popup menu tracked by the built-in button. The method returns true if the list box control has been successfully initialized.
OnPopupListBoxItemClick Called to notify that an item in the popup list box displayed by the grid cell was clicked and returns true.
OnPopupListBoxItemDraw Called to paint the list box item in the popup menu tracked by the built-in button. The method returns true if the cell object has successfully painted the list box item. The default implementation paints items like in the standard Windows list box.
OnPopupListBoxItemMeasure Called to measure the list box item in the popup menu tracked by the built-in button. The method returns true if the cell object has measured the list box item successfully.
OnPopupListBoxMeasureTrackSize Called to calculate the size, in pixels, of the list box control in the popup menu tracked by the built-in button.
OnPopupListBoxQueryMaxSize Called to calculate the maximal allowed size, in pixels, of the list box control in the popup menu tracked by the built-in button.
OnPopupListBoxSelChange Called to handle the selection changed event of the list box control in the popup menu tracked by the built-in button. The method returns true if the cell object has handled the list box event. The default implementation always return false.
OnPopupListBoxSelEndCancel Called to handle the canceling of the item selection event of the list box control in the popup menu tracked by the built-in button. The method returns true if the cell object has handled the event. The default implementation always returns false.
OnPopupListBoxSelEndOK Called to handle the final item selection changed event of the list box control in the popup menu tracked by the built-in button. The method returns true if the cell object has handled the event. The default implementation always returns false.
OnQueryBackColor Returns the COLORREF value which is used for painting the background of the cell. The COLORREF(-1) value means the background should be painted using default color.
OnQueryButtonInfo Called to query the information about the state and behavior of the built-in button specified by the nButtonType parameter. The method returns false if the button is not used.
OnQueryCellFont Called to query the HFONT handle which is used for painting cell text or measuring the cell layout.
OnQueryDrawTextFlags Returns a set of standard Win32 API's DT_* flags which specify the method of formatting the paited text of the grid cell.
OnQueryDrawTextFlagsForInplaceEdit Returns a set of standard Win32 API's DT_* flags which specify the method of formatting the in place edited text of the grid cell.
OnQueryEnabledDecrement Returns true if a click on the down part of the built-in up/down button should call the OnValueDecrement() virtual method. Returns false to make the down part disabled.
OnQueryEnabledIncrement Returns true if a click on the up part of the built-in up/down button should call the OnValueIncrement() virtual method. Returns false to make the up part disabled.
OnQueryExtent Gets or sets the extent value which is used by the grid control as the column width or row height. The method returns true if the cell object supports the feature of storing extents. The default implementation always returns false. The feature of storing extents is implemented in the CExtGCE template decorator class and used by the CExtGridCellHeader cell type. The grid control queries the outer cells for the extent values when it needs to know the column width or row height. The current extent value should be greater than or equal to the minimum extent value and less than or equal to the maximum extent value. If the minimum and maximum extent values are equal to each other, then the row/column resizing is not available.
OnQueryExtentPercent Gets or sets the ratio of the width/height of the cell in the outer row/column to the total width/height of all columns/rows. The method returns true if the cell object supports storing this ratio.
OnQueryExtraSpace Gets or sets the extra space value which is used by the grid control to organize the custom-painted areas around columns and/or rows. The method returns true if the cell object supports this feature. The default implementation always returns false. This feature is implemented in the CExtGCE template decorator class and used by the CExtGridCellHeader cell type. The grid control gets the extra space values from the outer cells when it needs to calculate the layout of columns and rows.
OnQueryPasswordChar Returns a character which is used as a password character in the text area and in the in-place active editor window of password cells.
OnQueryRestAreaMargins Returns the rectangle structure which contains margins of the cell�s rest area. The rest area is the part of grid cell which is free of all built-in cell parts such as icon, text and buttons.
OnQueryTextAreaMargins Returns the rectangle structure which contains margins of the cell�s text area.
OnQueryTextColor Returns the COLORREF value which is used for painting the text of the cell. The COLORREF(-1) value means the text should be painted using default color.
OnQueryTextForInplaceControl Invoked to retrieve the text for the cell in-place editor window.
OnQueryVerticalLayout Invoked to retrieve the flag which indicates whether the grid cell parts should have vertical layout instead of default horizontal layout.
OnSetCheck Called when the value of the built-in check box or radio circle value is about to be changed.
OnSetCursor Called to set the cursor over the cell. The method returns true if the cursor has been changed.
OnSysKey Called when the cell is processed a system key event of the grid control. The method returns true if the event has been handled.
OnValueDecrement Called to decrement the cell value and returns true if it has been changed.
OnValueIncrement Called to increment the cell value and returns true if it has been changed.

Operators

operator ! Inequality operator.
operator < Less than operator.
operator= Assignment operator.
operator > Greater than operator.
operator delete Implements the delete operators which correspond to the new operators of the CExtGridCell class. The former is a standard form of the delete operator of C++. The latter, which is user-defined, allows you to use the custom memory management.
operator new Implemets the new operators. The first is a standard form of the new operator of C++. The second, which is user-defined, allows you to use the custom memory management.

See Also

CExtGridCell Overview | Hierarchy Chart