zGrid Class Reference

DERIVED CLASS FOR THE GRID CONTROL. More...

#include <Zclass.h>

Inheritance diagram for zGrid:
zWindow

List of all members.

Public Member Functions

void BackColor (COLORREF color)
void Freeze (void)
void Unfreeze (void)
void Show (int col=__currentcol)

Detailed Description

DERIVED CLASS FOR THE GRID CONTROL.

% Grid control is a spreadsheet-like control that displays a series of rows and columns.


Member Function Documentation

void zGrid::BackColor ( COLORREF  color  )  [inline]

Sets the background color used to display text.

Parameters:
color - A COLORREF value representing the color. When specifying an explicit RGB color, the COLORREF value has the following hexadecimal form: 0x00bbggrr The low-order byte contains a value for the relative intensity of red; the second byte contains a value for green; and the third byte contains a value for blue. The high-order byte must be zero. The maximum value for a single byte is 0xFF.

Reimplemented from zWindow.

void zGrid::Freeze ( void   )  [inline]

Clears the redraw flag. If the redraw flag is cleared, the content of the given window is not updated after each change, and the window is not repainted until the redraw flag is set. For example, an application that must add several items to a list box can clear the redraw flag, add the items, and then set the redraw flag. Finally, the application can call the InvalidateRect function to cause the list box to be repainted.

Reimplemented from zWindow.

void zGrid::Show ( int  col = __currentcol  ) 
Parameters:
col -

Reimplemented from zWindow.

void zGrid::Unfreeze ( void   )  [inline]

Sets the redraw flag. If the redraw flag is cleared, the content of the given window is not updated after each change, and the window is not repainted until the redraw flag is set. For example, an application that must add several items to a list box can clear the redraw flag, add the items, and then set the redraw flag. Finally, the application can call the InvalidateRect function to cause the list box to be repainted.

Reimplemented from zWindow.


The documentation for this class was generated from the following file:

Generated on Sun Nov 29 07:22:17 2009 for Rad.on++ by  doxygen 1.6.1