 |
GetSysColorBrush ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves a handle identifying a logical brush that corresponds to the specified color index. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HBRUSH GetSysColorBrush(
int nIndex // system color index
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetSysColorBrush IN user32 INTEGER nIndex
|
 |
 |
 |
| Parameters: |
 |
nIndex
[in] Specifies a color index. This value corresponds to the color used to paint one of the window elements. |
 |
 |
| Return value: |
 |
| The return value identifies a logical brush if the nIndex parameter is supported by the current platform. Otherwise, it returns NULL. |
 |
 |
| My comment: |
 |
| System color brushes are owned by the system and must not be destroyed. That means you should not apply DeleteObject to brushes returned by this function. |
 |
 |
| Word Index links for the GetSysColorBrush : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-08-27 12:00:00 | | Modified: | 2001-11-26 16:03:26 | Visited in last 7 days: 13 |