Jump to content

DRAGIMAGE

From EDM2
Revision as of 19:11, 25 April 2025 by Martini (talk | contribs) (Created page with "Dragged-object-image structure which describes the images that are to be drawn under the direct-manipulation pointer for the duration of a drag operation. == Type == struct == C Declaration Method == typedef == Example Code == <pre> typedef struct _DRAGIMAGE { USHORT cb; Size, in bytes, of the DRAGIMAGE structure.: USHORT cptl; The number of points in the point array if fl is specified as DRG_POLYGON.: LHANDLE hImage;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Dragged-object-image structure which describes the images that are to be drawn under the direct-manipulation pointer for the duration of a drag operation.

Type

struct

C Declaration Method

typedef

Example Code

typedef struct _DRAGIMAGE {
  USHORT      cb;           /* Size, in bytes, of the DRAGIMAGE structure. */
  USHORT      cptl;         /* The number of points in the point array if fl is specified as DRG_POLYGON. */
  LHANDLE     hImage;       /* Handle representing the image to display. */
  SIZEL       sizlStretch;  /* Dimensions for stretching when fl is specified as DRG_STRETCH. */
  ULONG       fl;           /* Flags. */
  SHORT       cxOffset;     /* X-offset from the pointer hot spot to the origin of the image. */
  SHORT       cyOffset;     /* Y-offset from the pointer hot spot to the origin of the image. */
} DRAGIMAGE;

typedef   DRAGIMAGE   * PDRAGIMAGE ;