CGXGridCore::StoreDefaultRowHeight

virtual BOOL StoreDefaultRowHeight(int nHeight);?

nHeight

Specifies the height in pixels.

Return Value

TRUE if the value could be stored; it is FALSE if the value could not be stored.

Remarks

Overridable method which converts the default value for the row-height to a logical value and assigns it to the corresponding attribute of the parameter-object.

You can override this method if you want to maintain the data in your own classes. The library accesses the data through GetDefaultRowHeight.

If you do override this method, you should consider converting the pixel value to a logical value by calling Height_DPtoLP (see example to StoreColWidth).

See Also

 CGXGridCore::GetDefaultRowHeight  CGXGridCore::StoreColWidth

CGXGridCore

 Class Overview |  Class Members