Public Sub PaintTransCornerDC(ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long)
'
' 32-Bit Transparent BitBlt Function
' Written by Geoff Glaze 2/13/98
'
' Purpose:
' Creates a transparent bitmap using lower left pixel of source bitmap
'invalid color (specified point is outside of the clipping region)
'use default grey (standard bitmap back color)
iBackColor = &HC0C0C0
End If
PaintTransparentDC hDestDC, x, y, nWidth, nHeight, hSrcDC, xSrc, ySrc, iBackColor
End Sub
Public Sub PaintDisabledCornerDC(ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long)
'
' 32-Bit Transparent BitBlt Function
' Written by Geoff Glaze 2/13/98
'
' Purpose:
' Creates a transparent bitmap using lower left pixel of source bitmap