CreateSolidBrush
Zitat:
Remarks
A solid brush is a bitmap that the system uses to paint the interiors of filled shapes.
After an application creates a brush by calling CreateSolidBrush, it can select that brush into any device context by calling the SelectObject function.
Windows Embedded CE does not support dithered brushes.
When you no longer need the brush, call the DeleteObject function to delete it.
Dasselbe gilt für den Pen.