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

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

?? clsbutton.cls

?? 酒店管理系統
?? CLS
?? 第 1 頁 / 共 4 頁
字號:
    RGBtoHSL.Sat = CInt(S)
End Function

Sub TriggerButton()
'Dim UpState As Boolean
'Do
'    DoEvents
'    If GetCapture = pHwnd And UpState = False Then
'        parentPic.Cls
'        StretchBlt parentPic.hdc, 0, 0, pWidth, pHeight, DownDC, 0, 0, DownWidth, DownHeight, vbSrcCopy
'        UpState = True
'    ElseIf GetCapture <> pHwnd And UpState = True Then
'       parentPic.Cls
'        StretchBlt parentPic.hdc, 0, 0, pWidth, pHeight, UpDC, 0, 0, UpWidth, UpHeight, vbSrcCopy
'        UpState = False
'    End If
'Loop

parentPic.Cls
StretchBlt parentPic.hdc, 0, 0, pWidth, pHeight, DownDC, 0, 0, DownWidth, DownHeight, vbSrcCopy
Do While pHwnd = GetCapture()
    DoEvents
Loop
parentPic.Cls
StretchBlt parentPic.hdc, 0, 0, pWidth, pHeight, UpDC, 0, 0, UpWidth, UpHeight, vbSrcCopy
End Sub

Private Sub Class_Initialize()
    UpDC = 0
    DownDC = 0
End Sub

Private Sub Class_Terminate()
    DestroyUP
    DestroyDown
    Set parentPic = Nothing
End Sub

Private Function GetColor(ByVal nColor As Long) As Long
    Const SYSCOLOR_BIT As Long = &H80000000
    If (nColor And SYSCOLOR_BIT) = SYSCOLOR_BIT Then
        nColor = nColor And (Not SYSCOLOR_BIT)
        GetColor = GetSysColor(nColor)
    Else
        GetColor = nColor
    End If
End Function

Private Function IsUpCreated() As Boolean
    IsUpCreated = (UpDC <> 0)
End Function



Private Function IsDownCreated() As Boolean
    IsDownCreated = (DownDC <> 0)
End Function

Private Function CreateUP(hParentDC As Long, Optional PixelWidth As Long = 1024, Optional PixelHeight As Long = 768) As Long
    Dim nHasPalette As Long
    Dim nPaletteSize As Long
    Dim LogPal As LOGPALETTE
    Dim tm As TEXTMETRIC
    Dim sFaceName As String * 80
    Dim fFont As StdFont

    If IsUpCreated Then DestroyUP

    UpParent = hParentDC
    UpWidth = PixelWidth
    UpHeight = PixelHeight

    ' Create a memory device context to use
    UpDC = CreateCompatibleDC(UpParent)

    ' Tell'em it's a picture (so drawings can be done on the DC)
    UpMemBitmap = CreateCompatibleBitmap(UpParent, UpWidth, UpHeight)
    UpBitmap = SelectObject(UpDC, UpMemBitmap)

    ' Get screen properties
    nHasPalette = GetDeviceCaps(UpParent, RASTERCAPS) And RC_PALETTE   ' Palette support
    nPaletteSize = GetDeviceCaps(UpParent, SIZEPALETTE)                ' Size of palette
    ' If the screen has a palette make a copy and realize it
    If nHasPalette And (nPaletteSize = 256) Then
        ' Create a copy of the system palette
        LogPal.palVersion = &H300
        LogPal.palNumEntries = 256
        Call GetSystemPaletteEntries(UpParent, 0&, 256, LogPal.palPalEntry(0))
        UpMemPal = CreatePalette(LogPal)
        ' Select the new palette into the memory DC and realize it
        UpPal = SelectPalette(UpDC, UpMemPal, 0&)
        Call RealizePalette(UpDC)
    End If
    Call SetBkColor(UpDC, GetBkColor(UpParent))
    UpColor = GetTextColor(UpParent)
    Call SetBkMode(UpDC, GetBkMode(UpParent))
    
    Call GetTextMetrics(UpDC, tm)
    Call GetTextFace(UpParent, 79, sFaceName)
    Set fFont = New StdFont
    With fFont
        .Bold = (tm.tmWeight > FW_NORMAL)
        .Charset = tm.tmCharSet
        .Italic = (tm.tmItalic <> 0)
        .Name = sFaceName
        .Strikethrough = (tm.tmStruckOut <> 0)
        .Underline = (tm.tmUnderlined <> 0)
        .Weight = tm.tmWeight
        .Size = (tm.tmMemoryHeight / tm.tmDigitizedAspectY) * 72 ' Size has to be calculated
    End With
    Set UPFont = fFont
    Set fFont = Nothing
    
    CreateUP = UpDC
End Function
Private Property Get UPFont() As StdFont
    If Not IsUpCreated Then Exit Property

    On Local Error Resume Next

    Dim tm As TEXTMETRIC
    Dim sFaceName As String * 80

    Call GetTextMetrics(UpDC, tm)
    Call GetTextFace(UpDC, 79, sFaceName)

    Set UPFont = New StdFont

    With UPFont
        .Bold = (tm.tmWeight > FW_NORMAL)
        .Charset = tm.tmCharSet
        .Italic = (tm.tmItalic <> 0)
        .Name = sFaceName 'StrConv(sFaceName, vbUnicode)
        .Strikethrough = (tm.tmStruckOut <> 0)
        .Underline = (tm.tmUnderlined <> 0)
        .Weight = tm.tmWeight
        .Size = (tm.tmMemoryHeight / tm.tmDigitizedAspectY) * 72 ' Size has to be calculated
    End With
End Property
Private Property Get DOWNFont() As StdFont
    If Not IsDownCreated Then Exit Property

    On Local Error Resume Next

    Dim tm As TEXTMETRIC
    Dim sFaceName As String * 80

    Call GetTextMetrics(DownDC, tm)
    Call GetTextFace(DownDC, 79, sFaceName)

    Set DOWNFont = New StdFont

    With DOWNFont
        .Bold = (tm.tmWeight > FW_NORMAL)
        .Charset = tm.tmCharSet
        .Italic = (tm.tmItalic <> 0)
        .Name = sFaceName 'StrConv(sFaceName, vbUnicode)
        .Strikethrough = (tm.tmStruckOut <> 0)
        .Underline = (tm.tmUnderlined <> 0)
        .Weight = tm.tmWeight
        .Size = (tm.tmMemoryHeight / tm.tmDigitizedAspectY) * 72 ' Size has to be calculated
    End With
End Property

Private Property Set UPFont(ByVal NewFont As StdFont)
    If Not IsUpCreated Then Exit Property

    On Local Error Resume Next

    Dim nName() As Byte, i As Byte, nSize As Byte
    Dim tFont As LOGFONT

    ' Font name is a byte array and is in ANSI (DOS) format (1 byte = 1 character)
    nName = StrConv(NewFont.Name & Chr$(0), vbFromUnicode)
    nSize = UBound(nName)
    If nSize > LF_FACESIZE Then nSize = LF_FACESIZE
    For i = 0 To nSize
        tFont.lfFaceName(i) = nName(i)
    Next

    With tFont
        .lfCharSet = NewFont.Charset
        .lfClipPrecision = CLIP_DEFAULT_PRECIS
        .lfEscapement = 0                       ' Angle to print
        .lfOrientation = .lfEscapement
        .lfWidth = 0#
        .lfItalic = IIf(NewFont.Italic, 1, 0)
        .lfOutPrecision = OUT_DEFAULT_PRECIS
        .lfPitchAndFamily = DEFAULT_PITCH
        .lfQuality = DEFAULT_QUALITY
        .lfStrikeOut = IIf(NewFont.Strikethrough, 1, 0)
        .lfUnderline = IIf(NewFont.Underline, 1, 0)
        .lfWeight = NewFont.Weight
        ' Font size (height) has to be calculated
        .lfHeight = MulDiv(NewFont.Size, GetDeviceCaps(UpDC, LOGPIXELSY), 72)
    End With

    ' Set environment (remember previous settings)
    If UpMemoryFont <> 0 Then
        ' Reset environment
        Call SelectObject(UpDC, UpOrginalFont)
        Call DeleteObject(UpMemoryFont)
    End If
    UpMemoryFont = CreateFontIndirect(tFont)
    UpOrginalFont = SelectObject(UpDC, UpMemoryFont)
End Property

Private Property Set DOWNFont(ByVal NewFont As StdFont)
    If Not IsDownCreated Then Exit Property

    On Local Error Resume Next

    Dim nName() As Byte, i As Byte, nSize As Byte
    Dim tFont As LOGFONT

    ' Font name is a byte array and is in ANSI (DOS) format (1 byte = 1 character)
    nName = StrConv(NewFont.Name & Chr$(0), vbFromUnicode)
    nSize = UBound(nName)
    If nSize > LF_FACESIZE Then nSize = LF_FACESIZE
    For i = 0 To nSize
        tFont.lfFaceName(i) = nName(i)
    Next

    With tFont
        .lfCharSet = NewFont.Charset
        .lfClipPrecision = CLIP_DEFAULT_PRECIS
        .lfEscapement = 0                       ' Angle to print
        .lfOrientation = .lfEscapement
        .lfWidth = 0#
        .lfItalic = IIf(NewFont.Italic, 1, 0)
        .lfOutPrecision = OUT_DEFAULT_PRECIS
        .lfPitchAndFamily = DEFAULT_PITCH
        .lfQuality = DEFAULT_QUALITY
        .lfStrikeOut = IIf(NewFont.Strikethrough, 1, 0)
        .lfUnderline = IIf(NewFont.Underline, 1, 0)
        .lfWeight = NewFont.Weight
        ' Font size (height) has to be calculated
        .lfHeight = MulDiv(NewFont.Size, GetDeviceCaps(DownDC, LOGPIXELSY), 72)
    End With

    ' Set environment (remember previous settings)
    If DownMemoryFont <> 0 Then
        ' Reset environment
        Call SelectObject(DownDC, DownOrginalFont)
        Call DeleteObject(DownMemoryFont)
    End If
    DownMemoryFont = CreateFontIndirect(tFont)
    DownOrginalFont = SelectObject(DownDC, DownMemoryFont)
End Property
Private Function CreateDOWN(hParentDC As Long, Optional PixelWidth As Long = 1024, Optional PixelHeight As Long = 768) As Long
    Dim nHasPalette As Long
    Dim nPaletteSize As Long
    Dim LogPal As LOGPALETTE
    Dim tm As TEXTMETRIC
    Dim sFaceName As String * 80
    Dim fFont As StdFont

    If IsDownCreated Then DestroyDown

    DownParent = hParentDC
    DownWidth = PixelWidth
    DownHeight = PixelHeight

    ' Create a memory device context to use
    DownDC = CreateCompatibleDC(DownParent)

    ' Tell'em it's a picture (so drawings can be done on the DC)
    DownMemBitmap = CreateCompatibleBitmap(DownParent, DownWidth, DownHeight)
    DownBitmap = SelectObject(DownDC, DownMemBitmap)

    ' Get screen properties
    nHasPalette = GetDeviceCaps(DownParent, RASTERCAPS) And RC_PALETTE   ' Palette sDOWNport
    nPaletteSize = GetDeviceCaps(DownParent, SIZEPALETTE)                ' Size of palette
    ' If the screen has a palette make a copy and realize it
    If nHasPalette And (nPaletteSize = 256) Then
        ' Create a copy of the system palette
        LogPal.palVersion = &H300
        LogPal.palNumEntries = 256
        Call GetSystemPaletteEntries(DownParent, 0&, 256, LogPal.palPalEntry(0))
        DownMemPal = CreatePalette(LogPal)
        ' Select the new palette into the memory DC and realize it
        DownPal = SelectPalette(DownDC, DownMemPal, 0&)
        Call RealizePalette(DownDC)
    End If
    Call SetBkColor(DownDC, GetBkColor(DownParent))
    DownColor = GetTextColor(DownParent)
    Call SetBkMode(DownDC, GetBkMode(DownParent))
    
    Call GetTextMetrics(DownDC, tm)
    Call GetTextFace(DownParent, 79, sFaceName)
    Set fFont = New StdFont
    With fFont
        .Bold = (tm.tmWeight > FW_NORMAL)
        .Charset = tm.tmCharSet
        .Italic = (tm.tmItalic <> 0)
        .Name = sFaceName
        .Strikethrough = (tm.tmStruckOut <> 0)
        .Underline = (tm.tmUnderlined <> 0)
        .Weight = tm.tmWeight
        .Size = (tm.tmMemoryHeight / tm.tmDigitizedAspectY) * 72 ' Size has to be calculated
    End With
    Set DOWNFont = fFont
    Set fFont = Nothing
    
    CreateDOWN = DownDC
End Function
Private Sub DestroyUP()
    If Not IsUpCreated Then Exit Sub

    '
    Call SelectObject(UpDC, UpBitmap)
    Call DeleteObject(UpMemBitmap)
    Call DeleteDC(UpDC)
    '
    UpDC = -1
End Sub

Private Sub DestroyDown()
    If Not IsDownCreated Then Exit Sub

    '
    Call SelectObject(DownDC, DownBitmap)
    Call DeleteObject(DownMemBitmap)
    Call DeleteDC(DownDC)
    '
    DownDC = -1
End Sub

Public Property Get hdcUP() As Long
    hdcUP = UpDC
End Property

Public Property Get hdcDOWN() As Long
    hdcDOWN = DownDC
End Property



Public Sub ClsUP(cColor As Long)
    Dim hBrush As Long
    Dim tRect As RECT

    hBrush = CreateSolidBrush(cColor)
    With tRect
        .Left = 0
        .Top = 0
        .Right = UpWidth
        .Bottom = UpHeight
    End With

    Call FillRect(UpDC, tRect, hBrush)
    Call DeleteObject(hBrush)
End Sub
Public Sub ClsDOWN(cColor As Long)
    Dim hBrush As Long
    Dim tRect As RECT

    hBrush = CreateSolidBrush(cColor)
    With tRect
        .Left = 0
        .Top = 0
        .Right = DownWidth
        .Bottom = DownHeight
    End With

    Call FillRect(DownDC, tRect, hBrush)
    Call DeleteObject(hBrush)
End Sub








?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91免费视频大全| 日韩网站在线看片你懂的| 欧美手机在线视频| 久久夜色精品一区| 亚洲一区二区三区在线看| 国产成人av网站| 欧美片在线播放| 国产精品欧美经典| 奇米精品一区二区三区四区| caoporen国产精品视频| 欧美草草影院在线视频| 亚洲一区二区在线免费观看视频| 国产成人精品1024| 精品国产乱码久久久久久图片| 一区二区三区欧美日| 成人丝袜高跟foot| 久久伊99综合婷婷久久伊| 日本美女一区二区| 在线播放/欧美激情| 亚洲精品你懂的| a在线欧美一区| 国产精品久久国产精麻豆99网站| 日韩欧美在线一区二区三区| 国内精品视频一区二区三区八戒| 久久五月婷婷丁香社区| 欧美午夜精品理论片a级按摩| 99国产精品视频免费观看| 国产乱码精品一区二区三区av | 日韩精品一二区| 丰满亚洲少妇av| 久久综合久久综合亚洲| 久久99九九99精品| 亚洲综合区在线| 欧美日韩精品欧美日韩精品一综合| 国产日韩高清在线| 国内精品免费在线观看| 精品少妇一区二区三区视频免付费| 日韩电影在线观看网站| 91麻豆精品91久久久久久清纯| 亚洲一区二区三区国产| 欧美三级电影精品| 午夜精品久久久久久久99樱桃 | 国产成人精品一区二区三区四区| 久久久99免费| 东方欧美亚洲色图在线| 中文字幕在线观看一区二区| 不卡av在线网| 亚洲精品久久久蜜桃| 欧美色男人天堂| 男女男精品网站| 久久亚洲春色中文字幕久久久| 韩国av一区二区三区| 久久久精品一品道一区| av电影在线观看一区| 一区二区三区日韩欧美| 欧美区视频在线观看| 精品亚洲免费视频| 国产日韩欧美一区二区三区综合| 97久久超碰国产精品| 亚洲综合激情小说| 日韩你懂的在线观看| 成人黄色大片在线观看| 一区二区三区四区不卡在线 | 秋霞影院一区二区| 国产亚洲一区二区三区四区 | av电影在线观看不卡| 一区二区三区视频在线观看| 日韩欧美国产综合| 91在线你懂得| 蜜臀av国产精品久久久久 | 国产欧美一区二区精品性色超碰| 成人免费视频视频在线观看免费| 亚洲最新视频在线播放| 精品国产百合女同互慰| 色婷婷久久久久swag精品 | 麻豆成人免费电影| 亚洲欧洲制服丝袜| 日韩欧美一区电影| 色婷婷久久久亚洲一区二区三区| 精品一区中文字幕| 一级精品视频在线观看宜春院| 精品成人免费观看| 欧美视频精品在线观看| 成人app在线| 精品一区二区免费看| 亚洲一区二区在线免费看| 亚洲国产精品v| 精品欧美乱码久久久久久 | 色拍拍在线精品视频8848| 精品一区二区日韩| 偷偷要91色婷婷| 亚洲天堂精品在线观看| 国产婷婷精品av在线| 91精品国产色综合久久不卡蜜臀| 91美女蜜桃在线| 国产精品系列在线观看| 蜜臀99久久精品久久久久久软件| 亚洲综合999| 亚洲色图欧美在线| 国产免费观看久久| 精品久久久久久久久久久久久久久久久 | 国产精品美女久久久久av爽李琼| 欧美videos大乳护士334| 在线不卡中文字幕播放| 91福利精品第一导航| 91丨porny丨最新| a美女胸又www黄视频久久| 国产成人精品1024| 国产精品18久久久久| 国产一区二区三区免费看| 精品一区二区三区久久久| 日韩高清在线一区| 日韩不卡手机在线v区| 日韩激情视频网站| 日韩有码一区二区三区| 日日夜夜免费精品| 日韩成人一区二区| 美女在线一区二区| 久久国产尿小便嘘嘘尿| 精品伊人久久久久7777人| 精品中文字幕一区二区小辣椒| 狠狠色狠狠色综合系列| 韩国v欧美v亚洲v日本v| 国产91丝袜在线观看| 成人午夜大片免费观看| 91日韩一区二区三区| 欧美主播一区二区三区| 777a∨成人精品桃花网| 日韩美女视频在线| 国产欧美一区二区精品性色| 国产精品传媒入口麻豆| 亚洲激情图片一区| 日日摸夜夜添夜夜添亚洲女人| 蜜臀av性久久久久蜜臀aⅴ流畅| 国产一区二区三区在线看麻豆| 大胆欧美人体老妇| 在线亚洲人成电影网站色www| 欧美日韩精品一区二区在线播放| 日韩视频中午一区| 中文成人av在线| 亚洲一区在线观看视频| 久久国产视频网| 99精品视频一区二区三区| 欧美日韩免费视频| 国产日韩影视精品| 玉米视频成人免费看| 另类的小说在线视频另类成人小视频在线 | 婷婷综合在线观看| 国产美女娇喘av呻吟久久| 成人高清av在线| 欧美日产在线观看| 26uuu精品一区二区三区四区在线| 国产精品久久久久久久久图文区 | 激情国产一区二区| 91美女在线看| 欧美哺乳videos| 亚洲精品videosex极品| 日本成人中文字幕| 色综合天天做天天爱| 欧美成人一区二区三区在线观看 | 欧美一区二区免费观在线| 国产亚洲一区二区三区| 亚洲成人自拍一区| 成熟亚洲日本毛茸茸凸凹| 欧美日本一区二区三区四区| 中文字幕欧美激情| 美女高潮久久久| 色欧美88888久久久久久影院| 2021国产精品久久精品| 亚洲va欧美va国产va天堂影院| 国产福利视频一区二区三区| 欧美精品一二三四| 一区二区三区中文在线| 成人中文字幕合集| 色综合色综合色综合| 国产在线视频一区二区| 综合在线观看色| 一本一道波多野结衣一区二区| 理论电影国产精品| 久久精品一区八戒影视| 欧美一级黄色大片| 亚洲午夜羞羞片| 成人精品免费网站| 国产欧美日韩亚州综合| 精品一区二区三区久久| 欧美一区三区二区| 亚洲国产日韩av| 日本二三区不卡| 亚洲欧美日韩在线不卡| 成人av网址在线观看| 中文一区二区在线观看| 精品无人码麻豆乱码1区2区| 欧美一区二区三区性视频| 午夜国产不卡在线观看视频| 色综合亚洲欧洲| 有坂深雪av一区二区精品| 91久久线看在观草草青青| 亚洲天堂成人网| 色综合色狠狠综合色| 夜夜揉揉日日人人青青一国产精品|