Long 和RGB 互转
The calculation is: (65536 * Blue) + (256 * Green) + (Red)
'Convert RGB to LONG:
LONG = B * 65536 + G * 256 + R
'Convert LONG to RGB:
B = LONG \ 65536
G = (LONG - B * 65536) \ 256
R = LONG - B * 65536 - G * 256
VB6 该部件的许可证信息没有找到的解决方法