注册 登录
编程论坛 VC++/MFC

rgb前缀是什么意思

sdudy 发布于 2010-11-03 12:34, 743 次点击
typedef struct tagPAINTSTRUCT {
  HDC hdc;
  BOOL fErase;
  RECT rcPaint;
  BOOL fRestore;
  BOOL fIncUpdate;
  BYTE rgbReserved[32];
  } PAINTSTRUCT, *PPAINTSTRUCT;


请问:
1, RECT rcPaint;             rc前缀是什么意思?
2,BYTE rgbReserved[32];      rgb前缀是什么意思/
 
1 回复
#2
shafeilong2010-11-03 13:05
typedef struct tagRECT {
  LONG left;
  LONG top;
  LONG right;
  LONG bottom;
} RECT, *PRECT, NEAR *NPRECT, FAR *LPRECT;
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.
Headers
就是矩形


BYTE   An 8-bit integer that is not signed  8字节
1