|
|
An Application sends a GRIDM_ADDCOLUMN message to add a new column to the control. if (wParam > nCols) , if will do nothing. nCols is the columns' count of the grid control.
GRIDM_ADDCOLUMN int index; GRIDCELLDATA* celldata; wParam = (WPARAM)index; // The index of the column which you want to add after it, zero base. lParam = (LPARAM)celldata; // The property which is setted to the new column.
Definition at line 449 of file gridview.h. |
|
|
Add a dependence relationship of cells to another cells. An application sends an GRIDM_ADDDEPENDENCE message to add a dependence relationship of cells to another source cells, when the source cells changed, the target cells could updated automatically.
GRIDCELLDEPENDENCE* dependence GRIDM_ADDDEPENDENCE wParam = 0; lParam = (WPARAM)dependence; // Dependence relationship for adding.
Definition at line 579 of file gridview.h. |
|
|
An Application sends a GRIDM_ADDROW message to add a new row to the control. if (wParam > nRows) , if will do nothing. nRows is the rows' count of the grid control.
GRIDM_ADDROW int index; GRIDCELLDATA* celldata; wParam = (WPARAM)index; // The index of the row which you want to add after it, zero base. lParam = (LPARAM)celldata; // The property which is setted to the new row.
Definition at line 413 of file gridview.h. |
|
|
An Application sends a GRIDM_DELCOLUMN message to delete a column frow the control. if (wParam < 1 or wParam > nCols) , if will do nothing. nCols is the columns' count of the grid control.
GRIDM_DELCOLUMN int index; wParam = 0; lParam = (LPARAM)index; // The index of the column which you want to delete.
Definition at line 466 of file gridview.h. |
|
|
Delete a dependence relationship of cells to another cells. An application sends an GRIDM_DELDEPENDENCE message to delete a dependence relationship of cells to another source cells.
int dependence_id GRIDM_ADDDEPENDENCE wParam = (WPARAM)dependence_id; lParam = 0.
Definition at line 599 of file gridview.h. |
|
|
An Application sends a GRIDM_DELROW message to delete a row frow the control. if (wParam < 1 or wParam > nRows) , if will do nothing. nRows is the rows' count of the grid control.
GRIDM_DELROW int index; wParam = 0; lParam = index; // The index of the row which you want to delete.
Definition at line 431 of file gridview.h. |
|
|
An Application sends a GRIDM_GETPROPERTY message to get a single cell's property in the grid control.
GRIDM_GETCELLPROPERTY GRIDCELLS* cells; GRIDCELLDATA* celldata; wParam = (WPARAM)cell; // The cell(only for one cell now) which you want to get it's property lParam = (LPARAM)celldata; // The pointer of the property you want to get.
Definition at line 320 of file gridview.h. |
|
|
Gets the number of all cols in the grid control. An application sends an GRIDM_GETCOLCOUNT message to get the number of all rows in the grid control.
GRIDM_GETCOLCOUNT wParam = 0; lParam = 0;
Definition at line 498 of file gridview.h. |
|
|
An Application sends a GRIDM_GETCOLWIDTH message to get a column width in the grid control. if (lParam < 1 or lParam > nCols) , if will do nothing. nCows is the columns' count of the grid control.
GRIDM_GETCOLWIDTH int index; wParam = 0; lParam = (LPARAM)index; // The index of the column which you want to get width.
Definition at line 357 of file gridview.h. |
|
|
Gets the number of all rows in the grid control. An application sends an GRIDM_GETROWCOUNT message to get the number of all rows in the grid control.
GRIDM_GETROWCOUNT wParam = 0; lParam = 0;
Definition at line 482 of file gridview.h. |
|
|
An Application sends a GRIDM_GETROWHEIGHT message to get a row height in the grid control. if (lParam < 1 or lParam > nRows) , if will do nothing. nRows is the rows' count of the grid control.
GRIDM_GETROWHEIGHT int index ; wParam = 0 lParam = (LPARAM)index // The index of the row which you want to get height.
Definition at line 394 of file gridview.h. |
|
|
Get the selected cell(s) in the grid control. An application sends an GRIDM_GETSELECTED message to get the selected cell(s) in the grid control.
GRIDCELLS* cells GRIDM_GETSELECTED wParam = 0; lParam = (WPARAM)cells; // Get the selected cell(s) to it.
Definition at line 558 of file gridview.h. |
|
|
An Application sends a GRIDM_SETCELLPROPERTY message to set the cells' property in the grid control.
GRIDM_SETCELLPROPERTY GRIDCELLS* cells; GRIDCELLDATA* celldata; wParam = (WPARAM)cells; // The cell(s) which you want to set it's(their) property lParam = (LPARAM)celldata; // The pointer of the property you want to set.
Definition at line 300 of file gridview.h. |
|
|
An Application sends a GRIDM_SETCOLWIDTH message to set column width in the grid control. if (lParam < 1 or lParam > nCols) , if will do nothing. nCows is the columns' count of the grid control.
GRIDM_SETCOLWIDTH int index; int width; wParam = (WPARAM)index; // The index of the column which you want to set width. lParam = (LPARAM)width; // The width of the column you want to set.
Definition at line 339 of file gridview.h. |
|
|
Set the number format of a cell in the grid control. An application sends an GRIDM_SETNUMFORMAT message to set the number format of a cell in the grid control.
GRIDCELLS cells; char* format GRIDM_SETNUMFORMAT wParam = (WPARAM)cells; // The cells which you want to set. lParam = (WPARAM)format; // The cells' number format, like "%1.2f";
Definition at line 518 of file gridview.h. |
|
|
An Application sends a GRIDM_SETROWHEIGHT message to set a row height in the grid control. if (lParam < 1 or lParam > nRows) , if will do nothing. nRows is the rows' count of the grid control.
GRIDM_SETROWHEIGHT int index int height; wParam = (WPARAM)index; // The index of the row which you want to set height. lParam = (LPARAM)height; //The height of the row you want to set.
Definition at line 376 of file gridview.h. |
|
|
Set the selected cell(s) in the grid control. An application sends an GRIDM_SETSELECTED message to set the selected cell(s) in the grid control.
GRIDCELLS* cells GRIDM_SETSELECTED wParam = 0; lParam = (WPARAM)cells; // The cell(s) which you want to set selected.
Definition at line 538 of file gridview.h. |
1.4.2