次の方法で共有


SysColorCtrl.GetRedFromRGB method

The GetRedFromRGB method gets the red value from an RGB value.

Syntax

SysColorCtrl.GetRedFromRGB( _
  ByVal rgb _
)

Parameters

rgb

An integer that is the RGB value of the color.

Return value

An integer that contains the red value (between 0 and 255) in the RGB value specified by rgb.

Requirements

Redistributable
MMC 1.1 or later
DLL
Cic.dll