WindowBlinds : DirectSkin
SetColourValues
 

The SetColourValues method is used to determine if the window has always on top set or not. The user can sometimes control this via the skin if it has an always on top button. It will return TRUE if it has and FALSE if it does not have always on top set.

void SetColourValues(
shot
blend,
short
red,
short green,
short blue
);

Parameters

blend
The strength of the colouring. (0-255)
red
The amount of red for the colour you want. (0-255)
green
The amount of green for the colour you want. (0-255)
blue
The amount of blue for the colour you want. (0-255)

Return Values

 

This method will return TRUE if the window is set to always be the topmost window, FALSE if not.

Remarks

Red, green and blue combine to make a single COLORREF value which is the colour you want. If the skin lacks colour masks, then blend can be set to 1 (rather than 0) to force the colouring though this may be less than optimal.

After changing these values you need to call ReloadUIS to see the results

See Also

ReloadUIS