Unicode Controls & Classes for VB6 - Version 4

clsGpSession.FadeColorsHdc Method

Draw a surface fading two colors on a specified Device Context

Syntax
Public Sub FadeColorsHdc (ByRef lHdc As Long, _
ByRef r As RECT, _
ByVal cStart As Long, _
ByVal cStop As Long, _
ByVal mode As GpLinearGradientMode)
Parameters
Parameter Description
ByRef lHdc As Long Destination Device Context
ByRef r As RECT Draw coordinates
ByVal cStart As Long Start Color (standard RGB color)
ByVal cStop As Long End Color (standard RGB color)
ByVal mode As GpLinearGradientMode Gradient mode
Remarks