WinXSetWindowColour


WinXSetWindowColour (hWnd, colour)

Sets the background colour for a window

Parameter Description
hWnd The handle to the window to set the background colour for
colour The new background colour

Returns

$$TRUE on success or $$FALSE on fail

Remarks

When a region of the window is redrawn, that region is first filled with the background colour. By default this is the button face system colour.

Examples

' Give a window a white background
WinXSetWindowColour (#hMain, 0x000000)

Related Links

WinXNewWindow
WinXNewChildWindow
WinXSetCursor
WinXSetFont