Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>getbvalue()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetBValue()
Return the blue component of a colour
------------------------------------------------------------------------------

Syntax
GetBValue( <nColour> )   -->   nBlueValue

Arguments
<nColour> is a colour value (such as those produced by the
RGB() macro).

Returns
The returned value is the blue part of the colour, and is an
integer in the range 0-255.  Zero (0) corresponds to no blue
component, and 255 to a solid blue.

Description
In Windows, colours are described by their red/green/blue
(RGB) components.  This function picks out the blue component
of a colour.

Example
? GetBValue( RGB( 201, 202, 203 ) )     // Result: 203


See Also: GetBkColor() GetGValue() GetNearestColor() GetRValue() GetTextColor() RGB() SetBkColor() SetTextColor()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson