Unicode Controls & Classes for VB6 - Version 4

clsCommonWrapper.DrawRRect Method

Draws a round rectangle using different options

Syntax
Public Sub DrawRRect (ByVal lHdc As Long, _
ByRef r As RECT, _
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
ByRef r As RECT The rectangle coords
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