Jump to content

GRIDSQUARE

From EDM2
Revision as of 00:29, 21 April 2025 by Martini (talk | contribs) (Created page with "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. == Type == struct == C Declaration Method == typedef == Example Code == <pre> The CM_SETGRIDINFO message is used to set the pattern. typedef struct _GRIDSQUARE { ULONG ulNumber; /* Number of the grid...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Type

struct

C Declaration Method

typedef

Example Code


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 ;