 |
CreateSolidBrush ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The CreateSolidBrush function creates a logical brush that has the specified solid color. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HBRUSH CreateSolidBrush(
COLORREF crColor // brush color value
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CreateSolidBrush IN gdi32;
LONG crColor
|
 |
 |
 |
| Parameters: |
 |
crColor
[in] Specifies the color of the brush. To create a COLORREF color value, use the RGB macro. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value identifies a logical brush. |
 |
 |
| Usage: |
 |
* creates a solid brush
hBackground = CreateSolidBrush( RGB(64,64,64) )
* deletes solid brush object
= DeleteObject( m.hBackground )
|
 |
 |
| My comment: |
 |
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.
|
 |
 |
| Word Index links for the CreateSolidBrush : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-12-22 13:53:34 | | Modified: | 2011-09-16 18:43:57 | Visited in last 7 days: 40 |