Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
POINT Structure

POINT Structure

The POINT structure defines the x- and y-coordinates of a point.

typedef struct tagPOINT { 
   LONG x; 
   LONG y; 
} POINT;

x

Specifies the x-coordinate of a point.

y

Specifies the y-coordinate of a point.

//Alternate ways to initialize a POINT structure:

POINT ptA;
ptA.x = 370;
ptA.y = 550;

POINT ptB = {370,550};   

Header: windef.h

Community Additions

ADD
Show:
© 2015 Microsoft