创建带阴影的Brush
HBRUSH CreateHatchBrush(
int fnStyle, // hatch style
COLORREF clrref // foreground color
);
HBRUSH red_hbrush CreateHatchBrush( HS_CROSS, RGB(255,0,0 ) );
HBRUSH old_brush = SelectObject( hdc, red_hbrush );
// do std ...
SelectObject( hdc, old_brush ); //落选
DeleteObject( red_hbrush ); //删除
------------------------------------------------------
画图:
COLORREF SetPixel();
BOOL MoveToEx();
BOOL Rectangle();
FillRect();
FrameRect();
BOOL Ellipse();