clsCommonWrapper.DrawButtonWL MethodDraws a button on a specified Device Context but fills only button parts, others remain trasparentSyntax
Public Sub DrawButtonWL (ByVal lHdc As Long, _
ByRef rWork As RECT, _ Optional ByVal lBackColor As Long = vbButtonFace, _ Optional ByVal bUseBorder As Boolean = True, _ Optional ByVal lBorderColor As Long = -1&, _ Optional ByVal bPressed As Boolean = False, _ Optional ByVal bDefault As Boolean = False, _ Optional ByVal bCancel As Boolean = False, _ Optional ByVal bDrawFocus As Boolean = False, _ Optional ByVal bRounded As Boolean = True, _ Optional ByVal iBtnStyle As eCtlButtonStyle = iCtlBtnStyle_UseDefault, _ Optional ByVal lReserved1 As Long = -1&, _ Optional ByVal bCorrectLuminance As Boolean = True) Parameters
Remarks
This function has been used in WindowsLess transparent usercontrols
|