Unicode Controls & Classes for VB6 - Version 4

clsCommonWrapper.DrawRRectCoords Method

Draws a round rectangle using different options

Syntax
Public Sub DrawRRectCoords (ByVal lHdc As Long, _
ByVal X1 As Long, _
ByVal y1 As Long, _
ByVal X2 As Long, _
ByVal y2 As Long, _
ByVal bFilled As Boolean, _
ByVal lBackColor As Long, _
ByVal lBorderColor As Long, _
Optional ByVal iBorderWidth As Integer = 1, _
Optional ByVal PsPen As eCtlLineStyle = CTL_PS_SOLID, _
Optional ByVal iRoundWidth As Integer = 0)
Parameters
Parameter Description
ByVal lHdc As Long The destination Device Context
ByVal X1 As Long Specifies the x-coordinate of the rectangle's upper-left corner.
ByVal y1 As Long Specifies the y-coordinate of the rectangle's upper-left corner.
ByVal X2 As Long Specifies the x-coordinate of the rectangle's lower-right corner.
ByVal y2 As Long Specifies the y-coordinate of the rectangle's lower-right corner.
ByVal bFilled As Boolean Should the rectangle be filled?
ByVal lBackColor As Long The fill color
ByVal lBorderColor As Long The border color
Optional ByVal iBorderWidth As Integer = 1 The border width (in pixels)
Optional ByVal PsPen As eCtlLineStyle = CTL_PS_SOLID The pen to use for borders
Optional ByVal iRoundWidth As Integer = 0 The round size
Remarks