如果你一直在网上就可以去微软的MSDN去查。
这个Rect是个结构体
typedef struct _RECT {
LONG left;
LONG top;
LONG right;
LONG bottom;
} RECT, *PRECT;
其它没什么好说,很简单的,自己去做把
这个Rect是个结构体
typedef struct _RECT {
LONG left;
LONG top;
LONG right;
LONG bottom;
} RECT, *PRECT;
其它没什么好说,很简单的,自己去做把
RECT
The RECT structure defines the coordinates of the upper-left and lower-right corners of a rectangle. typedef struct _RECT {
LONG left;
LONG top;
LONG right;
LONG bottom;
} RECT;
Members
left
Specifies the x-coordinate of the upper-left corner of the rectangle.
top
Specifies the y-coordinate of the upper-left corner of the rectangle.
right
Specifies the x-coordinate of the lower-right corner of the rectangle.
bottom
Specifies the y-coordinate of the lower-right corner of the rectangle.
Res
When RECT is passed to the FillRect function, the rectangle is filled up to, but not including, the right column and bottom row of pixels. This structure is identical to the RECTL structure.QuickInfo
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in windef.h.你的错误应该是有非法的字符在某个语句中,仔细察看一下。
CRECT RECT
用他可以抓住,VIEW的客户区