亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cscrollbar.cls

?? ktv場所的包房開房、迎賓、預定管理系統。
?? CLS
?? 第 1 頁 / 共 2 頁
字號:
End Property


' Sets the tab index of the PictureBox
Public Property Get TabIndex() As Integer
  
  TabIndex = objPicBox.TabIndex
  
End Property
Public Property Let TabIndex(ByVal NewValue As Integer)
  
  objPicBox.TabIndex = NewValue
  
End Property


' Sets whether the scrollbar should be inserted to the form's tab order or not
Public Property Get TabStop() As Boolean
  
  TabStop = objPicBox.TabStop
  
End Property
Public Property Let TabStop(ByVal NewValue As Boolean)
  
  objPicBox.TabStop = NewValue
  
End Property


' If set to TRUE the MIN, MAX, VALUE, SMALLCHANGE, and LARGECHANGE properties will all be
' converted to whole numbers (no decimals).  Decimal numbers 5 and above are rounded up.
Public Property Get UseWholeNumbers() As Boolean
  
  UseWholeNumbers = blnWholeNums
  
End Property
Public Property Let UseWholeNumbers(ByVal NewValue As Boolean)
  
  blnWholeNums = NewValue
  
End Property


' The current value of the scrollbar
Public Property Get Value() As Double
  
  Value = dblValue
  If blnWholeNums = True Then Value = CDbl(Format(dblValue, "0"))
  
End Property
Public Property Let Value(ByVal NewValue As Double)
  
  ' Invalid value specified
  If (NewValue > dblMax Or NewValue < dblMin) And (dblMax > dblMin) And blnValueError = True Then
    Err.Raise 380, "cScrollBar.Value", "Invalid Property Value"
    
  ' Invalid value specified
  ElseIf (NewValue < dblMax Or NewValue > dblMin) And (dblMax < dblMin) And blnValueError = True Then
    Err.Raise 380, "cScrollBar.Value", "Invalid Property Value"
    
  ' Value specified is good... display it it
  Else
    
    dblValue = NewValue
    If blnWholeNums = True Then dblValue = CDbl(Format(dblValue, "0"))
    
    If dblMax = dblMin Then
      dblValue = dblMax
    ElseIf dblMax > dblMin Then
      If dblValue > dblMax Then
        dblValue = dblMax
      ElseIf dblValue < dblMin Then
        dblValue = dblMin
      End If
    ElseIf dblMax < dblMin Then
      If dblValue > dblMin Then
        dblValue = dblMin
      ElseIf dblValue < dblMax Then
        dblValue = dblMax
      End If
    End If
    DrawScrollbar
    RaiseEvent Change
  End If
  
End Property


Public Sub Move(ByVal sngLeft As Single, Optional ByVal sngTop As Single, Optional ByVal sngWidth As Single, Optional ByVal sngHeight As Single)
  
  If objPicBox Is Nothing Then Exit Sub
  objPicBox.Move sngLeft, sngTop, sngWidth, sngHeight
  
End Sub

Public Sub OLEDrag()
  
  If objPicBox Is Nothing Then Exit Sub
  objPicBox.OLEDrag
  
End Sub

Public Sub Refresh()
  
  If objPicBox Is Nothing Then Exit Sub
  DrawScrollbar
  
End Sub

Public Sub SetFocus()
  
  objPicBox.SetFocus
  
End Sub

Public Sub ZOrder(Optional ByVal Position As ZOrderConstants = vbBringToFront)
  
  If objPicBox Is Nothing Then Exit Sub
  objPicBox.ZOrder Position
  
End Sub


Private Function CreateArrow(ByVal bytArrowDirection As Byte, _
                             ByRef hDC_Arrow As Long, _
                             ByRef Return_hPrevBMP As Long) As Boolean
  
  Dim rRECT      As RECT
  Dim hDC_Screen As Long ' << Handle to Desktop DC
  Dim hBMP_Temp  As Long ' << Win32 BITMAP GDI Object (Don't delete because it gets passed back in the hDC_Arrow parameter
  Dim hBRUSH     As Long ' << Win32 BRUSH GDI Object
  Dim lngX       As Long
  Dim lngY       As Long
  
  ' Clear variables
  Return_hPrevBMP = 0
  
  ' Validate parameters
  If objPicBox Is Nothing Then Exit Function
  If hDC_Arrow = 0 Then Exit Function
  If bytArrowDirection <> vbKeyUp And _
     bytArrowDirection <> vbKeyDown And _
     bytArrowDirection <> vbKeyLeft And _
     bytArrowDirection <> vbKeyRight Then Exit Function
  
  ' Create brush to draw with
  hBRUSH = CreateSolidBrush(lngBackColor)
  If hBRUSH = 0 Then Exit Function
  
  ' Get a handle to the desktop DC
  hDC_Screen = GetDC(GetDesktopWindow)
  
  ' Create the bitmap to draw with
  If bytArrowDirection = vbKeyLeft Or bytArrowDirection = vbKeyRight Then
    With rRECT
      .Top = 0
      .Left = 0
      .Bottom = ArrowBitmap_Height
      .Right = ArrowBitmap_Width
    End With
    hBMP_Temp = CreateCompatibleBitmap(hDC_Screen, ArrowBitmap_Width, ArrowBitmap_Height)
  Else
    With rRECT
      .Top = 0
      .Left = 0
      .Bottom = ArrowBitmap_Width
      .Right = ArrowBitmap_Height
    End With
    hBMP_Temp = CreateCompatibleBitmap(hDC_Screen, ArrowBitmap_Height, ArrowBitmap_Width)
  End If
  If hBMP_Temp = 0 Then GoTo CleanUp
  
  ' Put the bitmap into the DC
  Return_hPrevBMP = SelectObject(hDC_Arrow, hBMP_Temp)
  
  ' Draw the background on it
  FillRect hDC_Arrow, rRECT, hBRUSH
  
  ' UP ARROW
  If bytArrowDirection = vbKeyUp Then
    lngY = 0: lngX = 3: GoSub DrawPixel
    
    lngY = 1: lngX = 2: GoSub DrawPixel
    lngY = 1: lngX = 3: GoSub DrawPixel
    lngY = 1: lngX = 4: GoSub DrawPixel
    
    lngY = 2: lngX = 1: GoSub DrawPixel
    lngY = 2: lngX = 2: GoSub DrawPixel
    lngY = 2: lngX = 3: GoSub DrawPixel
    lngY = 2: lngX = 4: GoSub DrawPixel
    lngY = 2: lngX = 5: GoSub DrawPixel
    
    lngY = 3: lngX = 0: GoSub DrawPixel
    lngY = 3: lngX = 1: GoSub DrawPixel
    lngY = 3: lngX = 2: GoSub DrawPixel
    lngY = 3: lngX = 3: GoSub DrawPixel
    lngY = 3: lngX = 4: GoSub DrawPixel
    lngY = 3: lngX = 5: GoSub DrawPixel
    lngY = 3: lngX = 6: GoSub DrawPixel
    lngY = 3: lngX = 7: GoSub DrawPixel
    
  ' DOWN ARROW
  ElseIf bytArrowDirection = vbKeyDown Then
    lngY = 3: lngX = 3: GoSub DrawPixel
    
    lngY = 2: lngX = 2: GoSub DrawPixel
    lngY = 2: lngX = 3: GoSub DrawPixel
    lngY = 2: lngX = 4: GoSub DrawPixel
    
    lngY = 1: lngX = 1: GoSub DrawPixel
    lngY = 1: lngX = 2: GoSub DrawPixel
    lngY = 1: lngX = 3: GoSub DrawPixel
    lngY = 1: lngX = 4: GoSub DrawPixel
    lngY = 1: lngX = 5: GoSub DrawPixel
    
    lngY = 0: lngX = 0: GoSub DrawPixel
    lngY = 0: lngX = 1: GoSub DrawPixel
    lngY = 0: lngX = 2: GoSub DrawPixel
    lngY = 0: lngX = 3: GoSub DrawPixel
    lngY = 0: lngX = 4: GoSub DrawPixel
    lngY = 0: lngX = 5: GoSub DrawPixel
    lngY = 0: lngX = 6: GoSub DrawPixel
    lngY = 0: lngX = 7: GoSub DrawPixel
    
  ' LEFT ARROW
  ElseIf bytArrowDirection = vbKeyLeft Then
    lngX = 0: lngY = 3: GoSub DrawPixel
    
    lngX = 1: lngY = 2: GoSub DrawPixel
    lngX = 1: lngY = 3: GoSub DrawPixel
    lngX = 1: lngY = 4: GoSub DrawPixel
    
    lngX = 2: lngY = 1: GoSub DrawPixel
    lngX = 2: lngY = 2: GoSub DrawPixel
    lngX = 2: lngY = 3: GoSub DrawPixel
    lngX = 2: lngY = 4: GoSub DrawPixel
    lngX = 2: lngY = 5: GoSub DrawPixel
    
    lngX = 3: lngY = 0: GoSub DrawPixel
    lngX = 3: lngY = 1: GoSub DrawPixel
    lngX = 3: lngY = 2: GoSub DrawPixel
    lngX = 3: lngY = 3: GoSub DrawPixel
    lngX = 3: lngY = 4: GoSub DrawPixel
    lngX = 3: lngY = 5: GoSub DrawPixel
    lngX = 3: lngY = 6: GoSub DrawPixel
    lngX = 3: lngY = 7: GoSub DrawPixel
    
  ' RIGHT ARROW
  ElseIf bytArrowDirection = vbKeyRight Then
    lngX = 3: lngY = 3: GoSub DrawPixel
    
    lngX = 2: lngY = 2: GoSub DrawPixel
    lngX = 2: lngY = 3: GoSub DrawPixel
    lngX = 2: lngY = 4: GoSub DrawPixel
    
    lngX = 1: lngY = 1: GoSub DrawPixel
    lngX = 1: lngY = 2: GoSub DrawPixel
    lngX = 1: lngY = 3: GoSub DrawPixel
    lngX = 1: lngY = 4: GoSub DrawPixel
    lngX = 1: lngY = 5: GoSub DrawPixel
    
    lngX = 0: lngY = 0: GoSub DrawPixel
    lngX = 0: lngY = 1: GoSub DrawPixel
    lngX = 0: lngY = 2: GoSub DrawPixel
    lngX = 0: lngY = 3: GoSub DrawPixel
    lngX = 0: lngY = 4: GoSub DrawPixel
    lngX = 0: lngY = 5: GoSub DrawPixel
    lngX = 0: lngY = 6: GoSub DrawPixel
    lngX = 0: lngY = 7: GoSub DrawPixel
    
  End If
  
  CreateArrow = True
  
CleanUp:
  
  If hDC_Screen <> 0 Then ReleaseDC GetDesktopWindow, hDC_Screen
  If hBRUSH <> 0 Then DeleteObject hBRUSH
  Exit Function
  
DrawPixel:
  
  SetPixel hDC_Arrow, lngX, lngY, lngForeColor
  Return
  
End Function

Private Function DrawPixelation() As Boolean
  
  Dim rRECT       As RECT
  Dim hDC_Screen  As Long ' << Handle to Desktop DC
  Dim hDC_Temp    As Long ' << Win32 Memory DC GDI Object
  Dim hBMP_Temp   As Long ' << Win32 BITMAP GDI Object
  Dim hBMP_Prev   As Long ' << Win32 BITMAP GDI Object
  Dim hBRUSH      As Long ' << Win32 BRUSH GDI Object
  Dim lngTheWidth As Long
  Dim lngX        As Long
  Dim lngY        As Long
  Dim blnSkip     As Boolean
  Dim blnStartON  As Boolean
  
  If objPicBox Is Nothing Then Exit Function
  
  ' Get a handle to desktop to create compatible DC and BITMAP objects with
  hDC_Screen = GetDC(GetDesktopWindow)
  If hDC_Screen = 0 Then Exit Function
  
  ' Create the brush to use
  hBRUSH = CreateSolidBrush(lngScrollColor)
  If hBRUSH = 0 Then GoTo CleanUp
  
  ' Create a Device Context (DC) to hold the picture
  hDC_Temp = CreateCompatibleDC(hDC_Screen)
  If hDC_Temp = 0 Then GoTo CleanUp
  
  ' Create bitmap to resize the DC with
  hBMP_Temp = CreateCompatibleBitmap(hDC_Screen, 10, 10)
  If hBMP_Temp = 0 Then GoTo CleanUp
  
  ' Put the bitmap into the DC to resize it
  hBMP_Prev = SelectObject(hDC_Temp, hBMP_Temp)
  
  ' Paint the background onto it
  rRECT.Right = 10
  rRECT.Bottom = 10
  FillRect hDC_Temp, rRECT, hBRUSH
  
  ' Loop through and pixelate the bitmap
  For lngX = 0 To 9
    blnStartON = Not blnStartON
    blnSkip = blnStartON
    For lngY = 0 To 9
      blnSkip = Not blnSkip
      If blnSkip = False Then SetPixel hDC_Temp, lngX, lngY, lngBackColor
    Next lngY
  Next lngX
  
  ' Get the BITMAP out of the DC
  hBMP_Temp = SelectObject(hDC_Temp, hBMP_Prev)
  
  ' Tile the bitmap onto the DC
  TileBitmap objPicBox.hDC, hBMP_Temp, lngPicWidth, lngPicHeight
  
  DrawPixelation = True
  
CleanUp:
  
  If hDC_Screen <> 0 Then ReleaseDC GetDesktopWindow, hDC_Screen
  If hDC_Temp <> 0 Then DeleteDC hDC_Temp
  If hBMP_Temp <> 0 Then DeleteObject hBMP_Temp
  If hBRUSH <> 0 Then DeleteObject hBRUSH
  
End Function

Private Function DrawScrollbar() As Boolean
  
  Dim rRECT               As RECT
  Dim hBrush_Back         As Long ' << Win32 BRUSH GDI Object
  Dim hBrush_Scroll       As Long ' << Win32 BRUSH GDI Object
  Dim hDC_Screen          As Long ' << Handle to the Desktop DC
  Dim hDC_ArrowLeft       As Long ' << Win32 Memory DC GDI Object
  Dim hDC_ArrowRight      As Long ' << Win32 Memory DC GDI Object
  Dim hDC_ArrowUp         As Long ' << Win32 Memory DC GDI Object
  Dim hDC_ArrowDown       As Long ' << Win32 Memory DC GDI Object
  Dim hPrevBMP_ArrowLeft  As Long ' << Win32 BITMAP GDI Object
  Dim hPrevBMP_ArrowRight As Long ' << Win32 BITMAP GDI Object
  Dim hPrevBMP_ArrowUp    As Long ' << Win32 BITMAP GDI Object
  Dim hPrevBMP_ArrowDown  As Long ' << Win32 BITMAP GDI Object
  Dim lngEdgeDown         As Long
  Dim lngEdgeUp           As Long
  Dim lngBitmapIndent1    As Long
  Dim lngBitmapIndent2    As Long
  Dim dblPercent          As Double
  
  If objPicBox Is Nothing Then Exit Function
  
  ' Set the edge flag
  lngEdgeUp = BDR_RAISEDINNER
  If blnFlat = False Then lngEdgeUp = lngEdgeUp Or BDR_RAISEDOUTER
  lngEdgeDown = BDR_SUNKENOUTER
  If blnFlat = False Then lngEdgeDown = lngEdgeDown Or BDR_SUNKENINNER
  
  ' Get the size of the PictureBox
  If blnUsePixels = True Then
    lngPicHeight = objPicBox.height
    lngPicWidth = objPicBox.width
  Else
    lngPicWidth = objPicBox.width / Screen.TwipsPerPixelX
    lngPicHeight = objPicBox.height / Screen.TwipsPerPixelY
  End If
  
  ' Get the size of the scroll boxes
  If blnScrollHor = True Then
    lngButtonHeight = lngPicHeight
    lngButtonWidth = ScrollButton_Width
  Else
    lngButtonHeight = ScrollButton_Width
    lngButtonWidth = lngPicWidth
  End If
  
  ' Get a handle to the Desktop DC.  This is ued to create compatible DC's and BITMAP's
  hDC_Screen = GetDC(GetDesktopWindow)
  If hDC_Screen = 0 Then Exit Function
  
  ' Create brush to draw with
  hBrush_Back = CreateSolidBrush(lngBackColor)
  If hBrush_Back = 0 Then GoTo CleanUp
  hBrush_Scroll = CreateSolidBrush(lngScrollColor)
  If hBrush_Scroll = 0 Then GoTo CleanUp
  
  ' Draw picture onto background
  If Not picBackPicture Is Nothing Then
    TileBitmap objPicBox.hDC, picBackPicture.Handle, lngPicWidth, lngPicHeight
    
  ' Draw pixelation onto background
  ElseIf blnPixelate = True Then
    DrawPixelation
    
  ' Fill in the background with a solid color
  Else
    With rRECT
      .Top = 0
      .Left = 0
      .Bottom = lngPicHeight
      .Right = lngPicWidth
    End With
    FillRect objPicBox.hDC, rRECT, hBrush_Scroll
  End If
  
  ' Draw edge around the scroll area
  If intBorderStyle = 1 Then
    objPicBox.Line (0, 0)-(0, lngPicHeight), lngForeColor                              'LEFT
    objPicBox.Line (lngPicWidth - 1, 0)-(lngPicWidth - 1, lngPicHeight), lngForeColor  'RIGHT
    objPicBox.Line (0, 0)-(lngPicWidth, 0), lngForeColor                               'TOP
    objPicBox.Line (0, lngPicHeight - 1)-(lngPicWidth, lngPicHeight - 1), lngForeColor 'BOTTOM
  End If
  
'_____________________________________________________________________________________________________________
' HORIZONTAL SCROLL BAR
'

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区二区四区蜜桃| 亚洲午夜在线电影| 欧美日韩国产综合一区二区| 国产美女一区二区| 亚洲大片一区二区三区| 中文字幕亚洲成人| 26uuu欧美日本| 欧美一级黄色录像| 欧美在线视频不卡| 91老司机福利 在线| 国产乱妇无码大片在线观看| 免费一级欧美片在线观看| 亚洲综合激情网| 国产精品灌醉下药二区| 国产日韩欧美综合在线| 欧美电影免费观看高清完整版在线 | 久久免费偷拍视频| 欧美日韩精品欧美日韩精品一| 成人久久18免费网站麻豆| 蜜臀99久久精品久久久久久软件| 亚洲一区二区成人在线观看| 亚洲婷婷综合色高清在线| 欧美国产综合一区二区| www激情久久| 久久综合色之久久综合| 精品久久久久久久一区二区蜜臀| 欧美裸体bbwbbwbbw| 欧美日韩一区二区不卡| 色94色欧美sute亚洲线路二| 不卡一区二区在线| 成人免费观看av| 成人av网站大全| 成人18视频在线播放| 国产成人久久精品77777最新版本| 国产在线精品一区二区不卡了| 看国产成人h片视频| 毛片一区二区三区| 日本女人一区二区三区| 蜜臀精品久久久久久蜜臀| 日韩国产欧美在线观看| 日韩电影免费在线| 美日韩一区二区| 极品少妇xxxx偷拍精品少妇| 韩国中文字幕2020精品| 国产精品一级二级三级| 成人福利视频在线| 99久精品国产| 欧美性三三影院| 日韩一卡二卡三卡国产欧美| 日韩一本二本av| 久久蜜桃av一区精品变态类天堂| 国产区在线观看成人精品| 亚洲国产精品成人综合| 亚洲欧美一区二区三区极速播放| 亚洲精品ww久久久久久p站| 婷婷中文字幕综合| 精品亚洲国产成人av制服丝袜| 国产精品亚洲成人| 972aa.com艺术欧美| 欧美精品免费视频| 久久婷婷色综合| 中文字幕一区在线观看视频| 亚洲成av人片在线观看| 久久国产生活片100| 成人黄色片在线观看| 欧美午夜精品一区二区三区| 欧美大片免费久久精品三p| 国产午夜精品久久| 亚洲精品成人a在线观看| 男男gaygay亚洲| 国产凹凸在线观看一区二区| 色播五月激情综合网| 日韩欧美亚洲国产另类| 国产精品久久久久永久免费观看| 亚洲综合久久久| 国产精品综合视频| 欧亚洲嫩模精品一区三区| 2024国产精品| 亚洲v中文字幕| 国产成人免费视频一区| 欧美日韩视频在线第一区 | 亚洲国产综合在线| 九九在线精品视频| 色综合天天综合给合国产| 日韩一区国产二区欧美三区| 国产精品天干天干在观线| 午夜成人在线视频| 成人av动漫网站| 日韩欧美国产wwwww| 亚洲精品视频在线观看网站| 国产在线视频一区二区| 欧美日韩五月天| 成人欧美一区二区三区小说| 久久精品国产网站| 欧美在线观看一区二区| 欧美国产精品一区| 免费精品视频最新在线| 91国产丝袜在线播放| 国产日韩欧美综合一区| 看国产成人h片视频| 欧美色图12p| 成人欧美一区二区三区小说| 国内国产精品久久| 欧美一区2区视频在线观看| 亚洲精品国产a| thepron国产精品| 2020国产成人综合网| 日韩中文字幕麻豆| 91福利小视频| 中文字幕亚洲一区二区av在线 | 日韩亚洲电影在线| 亚洲第一福利视频在线| 91老师片黄在线观看| 国产日韩欧美精品一区| 捆绑调教美女网站视频一区| 欧美日韩精品一区二区三区蜜桃| 中文字幕综合网| 成人午夜看片网址| 2024国产精品视频| 捆绑紧缚一区二区三区视频| 5566中文字幕一区二区电影| 亚洲一区在线播放| 色狠狠桃花综合| 一区二区三区中文字幕电影| 99国产欧美久久久精品| 中文字幕在线免费不卡| 波多野结衣在线一区| 中文成人综合网| 成人精品鲁一区一区二区| 国产欧美日韩中文久久| 国产成人精品一区二区三区四区| 日韩精品一区二区三区蜜臀| 久久av老司机精品网站导航| 日韩欧美国产电影| 秋霞成人午夜伦在线观看| 91精品欧美一区二区三区综合在| 日韩在线观看一区二区| 56国语精品自产拍在线观看| 蜜桃视频一区二区| 精品精品国产高清一毛片一天堂| 久久99精品国产91久久来源| 精品久久久久久久久久久久包黑料| 麻豆成人91精品二区三区| 精品日产卡一卡二卡麻豆| 国产精品1区二区.| 久久精品日韩一区二区三区| 成人免费黄色在线| 亚洲另类色综合网站| 欧美日韩成人一区二区| 六月丁香综合在线视频| 2023国产精华国产精品| 成人av中文字幕| 亚洲最新视频在线观看| 884aa四虎影成人精品一区| 韩国中文字幕2020精品| 日本一区二区三级电影在线观看 | 九九久久精品视频| 国产欧美日韩另类视频免费观看| 99久久精品国产精品久久| 亚洲国产中文字幕在线视频综合 | 欧美一区二区二区| 国产精品69久久久久水密桃| 亚洲色图第一区| 日韩午夜三级在线| 国产精品夜夜嗨| 亚洲精品va在线观看| 日韩一区二区中文字幕| 不卡高清视频专区| 亚洲电影视频在线| 久久久久久久久蜜桃| 91网上在线视频| 青青草国产成人av片免费| 国产精品色在线| 欧美日韩aaa| 岛国一区二区三区| 午夜免费久久看| 欧美精彩视频一区二区三区| 欧美精品视频www在线观看| 国产自产v一区二区三区c| 亚洲欧美日韩国产综合在线| 欧美一级精品大片| 91年精品国产| 九九九精品视频| 一区二区三区四区不卡在线 | 欧美国产精品一区二区三区| 欧美精品自拍偷拍动漫精品| 粉嫩aⅴ一区二区三区四区五区 | 99热在这里有精品免费| 日韩有码一区二区三区| 亚洲特级片在线| 日韩精品在线网站| 日本高清不卡一区| 国产精品一区二区三区乱码| 天堂av在线一区| 国产精品水嫩水嫩| 2024国产精品视频| 制服丝袜av成人在线看| 在线免费观看成人短视频| 福利一区二区在线| 麻豆91小视频|