This structure is used to create an array that defines the arrangement of icons in a container. Each grid square in the array has a number that identifies its location in the container window, and a state that indicates whether it can be occupied by an icon.

The CM_SETGRIDINFO message is used to set the pattern.

typedef struct _GRIDSQUARE {
  ULONG     ulNumber;     /*  Number of the grid square. */
  ULONG     ulState;      /*  State of the grid square. */
  RECTL     rectlSquare;  /*  Coordinates of the grid square in the container window. */
} GRIDSQUARE;

typedef   GRIDSQUARE   * PGRIDSQUARE ;


[Back] [Next]