GridGetCell Function

Microchip Graphics Library

Microchip Graphics Library
GridGetCell Function
C
void * GridGetCell(
    GRID * pGrid, 
    SHORT column, 
    SHORT row, 
    WORD * cellType
);
Overview

This function removes all grid items for the given Grid and frees the memory used.

Input Parameters
Input Parameters 
Description 
GRID * pGrid 
The pointer to the Grid object. 
SHORT column 
the column index of the cell 
SHORT row 
the row index of the cell 
WORD * cellType 
pointer that will receive the type of grid item or cell (GRIDITEM_IS_TEXT or GRIDITEM_IS_BITMAP). 
Returns

Returns a pointer to the grid item or cell data.

Preconditions

Object must be created before this function is called.

Side Effects

none

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved