SetWinBackgroundColor | ||||||
Syntax: | ||||||
SetWinBackgroundColor( hWnd, color ) | ||||||
Parameters: | ||||||
| ||||||
Description: | ||||||
Set the Background-Color for the window. | ||||||
Example: | ||||||
hWnd = OpenWindow(0, x, y, w, h, #WS_POPUP, "Window Name") SetWinBackgroundColor(hWnd, $FFFFFF) hWnd = OpenWindow(0, x, y, w, h, #WS_POPUP, "Window Name") SetWinBackgroundColor(hWnd, RGB($FF,$FF,$00)) ; may be useful for WinXP hWnd = OpenWindow(0, x, y, w, h, #WS_POPUP, "Window Name") SetWinBackgroundColor(hWnd, GetSysColor_(#COLOR_BTNFACE)) | ||||||
|