DERIVED CLASS FOR THE GRID CONTROL. More...
#include <Zclass.h>
Public Member Functions | |
| void | BackColor (COLORREF color) |
| void | Freeze (void) |
| void | Unfreeze (void) |
| void | Show (int col=__currentcol) |
DERIVED CLASS FOR THE GRID CONTROL.
% Grid control is a spreadsheet-like control that displays a series of rows and columns.
| void zGrid::BackColor | ( | COLORREF | color | ) | [inline] |
Sets the background color used to display text.
| 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 |
) |
| 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.
1.6.1