SetWinBackgroundColor

Syntax:

SetWinBackgroundColor( hWnd, color )

Parameters:

hWnd

=

Handle Des Fensters ( WindowID() )

color

=

RGB-Color: RGB(r,g,b)


Description:

Setzt die Hintergrundfarbe des Fensters


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))


Supported OS:   Windows