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

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

?? xpbutton.ctl

?? 超市管理系統
?? CTL
?? 第 1 頁 / 共 5 頁
字號:
UserControl.ForeColor = nColor
If myProps.bLockHover = lv_LockTextandBackColor Or myProps.bLockHover = lv_LockTextColorOnly Then
    Me.HoverForeColor = UserControl.ForeColor
End If
bNoRefresh = False
RedrawButton True
PropertyChanged "cFore"
End Property
Public Property Get ForeColor() As OLE_COLOR
ForeColor = UserControl.ForeColor
End Property

Public Property Let BackColor(nColor As OLE_COLOR)
Attribute BackColor.VB_Description = "Button back color. See also ResetDefaultColors"
Attribute BackColor.VB_ProcData.VB_Invoke_PropertyPut = ";Appearance"

' Sets the backcolor of the button

curBackColor = ConvertColor(nColor)
If myProps.bLockHover = lv_LockBackColorOnly Or myProps.bLockHover = lv_LockTextandBackColor Then
    If myProps.bGradient Then
        Me.HoverBackColor = myProps.bGradientColor
    Else
        Me.HoverBackColor = nColor
    End If
End If
GetGDIMetrics "BackColor"
Refresh
PropertyChanged "cBack"
End Property
Public Property Get BackColor() As OLE_COLOR
BackColor = curBackColor
End Property

Public Property Let GradientColor(nColor As OLE_COLOR)

' Sets the gradient color. Gradients are used this way...
' Shade from BackColor to GradientColor
' GradientMode must be set

If (myProps.bLockHover = lv_LockTextandBackColor Or _
    myProps.bLockHover = lv_LockBackColorOnly) And _
    myProps.bGradient > lv_NoGradient Then
        myProps.bBackHover = nColor
        myProps.bBackHover = Me.HoverBackColor
End If
myProps.bGradientColor = nColor
GetGDIMetrics "BackColor"
If myProps.bGradient Then Refresh
PropertyChanged "cGradient"
End Property
Public Property Get GradientColor() As OLE_COLOR
Attribute GradientColor.VB_Description = "Secondary color used for gradient shades. The BackColor property is the primary color."
Attribute GradientColor.VB_ProcData.VB_Invoke_Property = ";Appearance"
GradientColor = myProps.bGradientColor
End Property

Public Property Let GradientMode(nOpt As GradientConstants)

' Sets the direction of gradient shading

If nOpt < lv_NoGradient Or nOpt > lv_Bottom2Top Then Exit Property
myProps.bGradient = nOpt
If myProps.bLockHover = lv_LockBackColorOnly Or myProps.bLockHover = lv_LockTextandBackColor Then
    If nOpt > lv_NoGradient Then
        myProps.bBackHover = myProps.bGradientColor
    Else
        myProps.bBackHover = curBackColor
    End If
    myProps.bBackHover = Me.HoverBackColor
    GetGDIMetrics "BackColor"
End If
Refresh
PropertyChanged "Gradient"
End Property
Public Property Get GradientMode() As GradientConstants
Attribute GradientMode.VB_Description = "Various directions to draw the gradient shading."
Attribute GradientMode.VB_ProcData.VB_Invoke_Property = ";Behavior"
GradientMode = myProps.bGradient
End Property

Public Property Let ResetDefaultColors(nDefault As Boolean)
Attribute ResetDefaultColors.VB_Description = "Resets button's back color and text color to Window's standard. The hover properties are also reset."
Attribute ResetDefaultColors.VB_ProcData.VB_Invoke_PropertyPut = ";Appearance"

' Resets the BackColor, ForeColor, GradientColor,
' HoverBackColor & HoverForeColor to defaults

If Ambient.UserMode Or nDefault = False Then Exit Property
DelayDrawing True
curBackColor = vbButtonFace
Me.ForeColor = vbButtonText
Me.GradientColor = vbButtonFace
Me.GradientMode = lv_NoGradient
Me.HoverColorLocks = lv_LockTextandBackColor
myProps.bGradientColor = Me.GradientColor
GetGDIMetrics "BackColor"
DelayDrawing False
PropertyChanged "cGradient"
PropertyChanged "cBack"
End Property
Public Property Get ResetDefaultColors() As Boolean
ResetDefaultColors = False
End Property

Public Property Let HoverColorLocks(nLock As HoverLockConstants)
Attribute HoverColorLocks.VB_Description = "Can ensure the hover colors match the caption and back colors. Click for more options."
Attribute HoverColorLocks.VB_ProcData.VB_Invoke_PropertyPut = ";Behavior"

' Has two purposes.
' 1. If the lock wasn't set but is now set, then setting it will
' force HoverForeColor=ForeColor & HoverBackColor=Backcolor
' If gradeints in use, then HoverBackColor=GradientColor
' 2. If the lock was already set, then changing BackColor
' will force HoverBackColor to match. If gradients are used then
' it will force HoverBackColor to match GradientColor
' It will also force HoverForeColor to match ForeColor.

' After the locks have been set, manually changing the
' HoverForeColor, HoverBackColor will adjust/remove the lock

myProps.bLockHover = nLock
If myProps.bLockHover = lv_LockTextandBackColor Or _
    myProps.bLockHover = lv_LockBackColorOnly Then
        If myProps.bGradient Then
            myProps.bBackHover = myProps.bGradientColor
        Else
            myProps.bBackHover = curBackColor
        End If
        PropertyChanged "cBHover"
End If
If myProps.bLockHover = lv_LockTextandBackColor Or _
    myProps.bLockHover = lv_LockTextColorOnly Then
        myProps.bForeHover = UserControl.ForeColor
        PropertyChanged "cFHover"
End If
myProps.bBackHover = Me.HoverBackColor
myProps.bForeHover = Me.HoverForeColor
GetGDIMetrics "BackColor"
PropertyChanged "LockHover"
End Property
Public Property Get HoverColorLocks() As HoverLockConstants
HoverColorLocks = myProps.bLockHover
End Property

Public Property Let HoverForeColor(nColor As OLE_COLOR)
Attribute HoverForeColor.VB_Description = "Color of button caption's text when mouse is hovering over it. Affects the HoverLockColors property."
Attribute HoverForeColor.VB_ProcData.VB_Invoke_PropertyPut = ";Appearance"

' Changes the text color when mouse is over the button
' Changing this property will affect the type of HoverLock

If myProps.bForeHover = nColor Then Exit Property
myProps.bForeHover = nColor
PropertyChanged "cFHover"
If nColor <> UserControl.ForeColor Then
    If myProps.bLockHover = lv_LockTextandBackColor Then
        myProps.bLockHover = lv_LockBackColorOnly
    Else
        If myProps.bLockHover = lv_LockTextColorOnly Then myProps.bLockHover = lv_NoLocks
    End If
End If
myProps.bLockHover = Me.HoverColorLocks
PropertyChanged "cFHover"
End Property
Public Property Get HoverForeColor() As OLE_COLOR
HoverForeColor = myProps.bForeHover
End Property

Public Property Let HoverBackColor(nColor As OLE_COLOR)
Attribute HoverBackColor.VB_Description = "Color of button background when mouse is hovering over it. Affects the HoverLockColors property."
Attribute HoverBackColor.VB_ProcData.VB_Invoke_PropertyPut = ";Appearance"

' Changes the backcolor when mouse is over the button
' Changing this property will affect the type of HoverLock

If myProps.bBackHover = nColor Then Exit Property
myProps.bBackHover = nColor
If nColor <> curBackColor Then
    If myProps.bLockHover = lv_LockTextandBackColor Then
        myProps.bLockHover = lv_LockTextColorOnly
    Else
        If myProps.bLockHover = lv_LockBackColorOnly Then myProps.bLockHover = lv_NoLocks
    End If
End If
myProps.bLockHover = Me.HoverColorLocks
GetGDIMetrics "BackColor"
PropertyChanged "cBHover"
End Property
Public Property Get HoverBackColor() As OLE_COLOR
HoverBackColor = myProps.bBackHover
End Property

Public Property Get hDC() As Long

' Makes the control's hDC availabe at runtime

hDC = UserControl.hDC
End Property

Public Property Get hwnd() As Long

' Makes the control's hWnd available at runtime

hwnd = UserControl.hwnd
End Property

' //////////////////// GENERAL FUNCTIONS, PUBLIC \\\\\\\\\\\\\\\\\\\\\
Public Sub Refresh()

' Refreshes the button & can be called from any form/module

RedrawButton True
End Sub

Public Sub DelayDrawing(bDelay As Boolean)

' Used to prevent redrawing button until all properties are set.
' Should you want to set multiple properties of the control during runtime
' call this function first with a TRUE parameter. Set your button
' attributes and then call it again with a FALSE property to update the
' button.   IMPORTANT: If called with a TRUE parameter you must
' also release it with a call and a FALSE parameter

' NOTE: this function will prevent flicker when several properties
' are being changed at once during run time. It is similar to
' the BeginPaint & EndPaint API functionality
bNoRefresh = bDelay
If bDelay = False Then Refresh
End Sub

Private Sub RedrawButton(bDrawEntireButton As Boolean)
' ==================================================
' Main switchboard routine for redrawing a button
' ==================================================
If bNoRefresh = True Then Exit Sub

Dim polyPts(0 To 15) As POINTAPI, polyColors(1 To 12) As Long
Dim ActiveStatus As Integer
Select Case myProps.bBackStyle
    Case 0:  DrawButton_Win95 polyPts(), polyColors(), ActiveStatus
    Case 1: DrawButton_Win31 polyPts(), polyColors(), ActiveStatus
    Case 2: DrawButton_WinXP polyPts(), polyColors(), ActiveStatus
    Case 3: DrawButton_Java polyPts(), polyColors(), ActiveStatus
    Case 4:  DrawButton_Flat polyPts(), polyColors(), ActiveStatus
    Case 5: DrawButton_Hover polyPts(), polyColors(), ActiveStatus
    Case 6: DrawButton_Netscape polyPts(), polyColors(), ActiveStatus
    Case 7: DrawButton_Macintosh polyPts(), polyColors(), ActiveStatus
End Select
Erase polyPts()
Erase polyColors()
GetSetOffDC False    ' copy the offscreen DC onto the control
UserControl.Refresh
End Sub

Private Function ToggleOptionButtons(nMode As Integer) As Boolean

' Function tracks option buttons for each container they are placed on
' It will 1) Toggle others to false when one is set to true
'         2) Add or remove option buttons from a collection
'         3) Query option buttons to see if one is set to true

Dim i As Integer, NrCtrls As Integer
Dim myObjRef As Long, tgtObjRef As Long

NrCtrls = GetProp(CLng(Tag), "lv_OptCount")
On Error GoTo OptionToggleError

If myProps.bValue And (NrCtrls > 0 Or nMode = 1) Then
    ' called when an option button is set to True; set others to false
    Dim optControl As XPButton
    myObjRef = ObjPtr(Me)
    For i = 1 To NrCtrls
        tgtObjRef = GetProp(CLng(Tag), "lv_Obj" & i)
        If tgtObjRef <> myObjRef Then
            CopyMemory optControl, tgtObjRef, &H4
            optControl.value = False
            CopyMemory optControl, 0&, &H4
        End If
    Next
End If
Select Case nMode
Case 1: ' Add instance to window db
    SetProp CLng(Tag), "lv_OptCount", NrCtrls + nMode
    SetProp CLng(Tag), "lv_Obj" & NrCtrls + nMode, ObjPtr(Me)
Case -1: ' Remove instance from window db
    Dim bOffset As Boolean
    myObjRef = ObjPtr(Me)
    For i = 1 To NrCtrls
        tgtObjRef = GetProp(CLng(Tag), "lv_Obj" & i)
        If tgtObjRef = myObjRef Then
            bOffset = -1
        Else
            If bOffset Then SetProp CLng(Tag), "lv_Obj" & i, tgtObjRef
        End If
    Next
    RemoveProp CLng(Tag), "lv_Obj" & i - 1
    If NrCtrls = 0 Then RemoveProp CLng(Tag), "lv_OptCount"
Case 2: ' See if any option buttons have True values
    For i = 1 To NrCtrls
        tgtObjRef = GetProp(CLng(Tag), "lv_Obj" & i)
        CopyMemory optControl, tgtObjRef, &H4
        If optControl.value = True Then
            i = NrCtrls + 1
            ToggleOptionButtons = True
        End If
        CopyMemory optControl, 0&, &H4
    Next
End Select
Exit Function

OptionToggleError:
Debug.Print "Err in OptionToggle: " & Err.Description
End Function

Friend Sub TimerUpdate(lvTimerID As Long)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美成人官网二区| 久久先锋影音av鲁色资源网| 免费在线欧美视频| 中文字幕 久热精品 视频在线| 欧美日韩在线三级| 成人涩涩免费视频| 蜜臂av日日欢夜夜爽一区| 亚洲天堂av老司机| 日韩欧美一二区| 欧美日韩日日夜夜| 99精品黄色片免费大全| 国产mv日韩mv欧美| 精品在线免费观看| 亚洲h在线观看| 亚洲男人的天堂在线观看| 久久精品无码一区二区三区| 在线不卡免费欧美| 欧美影院一区二区| 91视频在线观看免费| 国产高清不卡二三区| 男人的天堂久久精品| 午夜视频在线观看一区二区三区| 亚洲特黄一级片| 中文字幕一区三区| 国产日本欧洲亚洲| 久久综合久久鬼色| 日韩午夜激情视频| 欧美mv日韩mv亚洲| 日韩精品一区在线| 欧美一三区三区四区免费在线看 | 国产日韩精品一区二区浪潮av| 欧美精品一二三| 欧美在线视频你懂得| 色综合中文字幕国产 | 亚洲第一主播视频| 夜夜嗨av一区二区三区网页| 亚洲天堂免费看| 亚洲色图在线播放| 亚洲精品欧美专区| 一区二区三区四区在线播放| 亚洲精品午夜久久久| 亚洲精品成人悠悠色影视| 亚洲天堂成人在线观看| 亚洲老妇xxxxxx| 一区二区三国产精华液| 一区二区视频免费在线观看| 亚洲自拍偷拍麻豆| 亚洲成人免费在线| 日本91福利区| 黄色资源网久久资源365| 国内成人免费视频| 日本亚洲欧美天堂免费| 91同城在线观看| 亚洲一线二线三线久久久| 亚洲午夜影视影院在线观看| 亚洲一级二级三级在线免费观看| 92精品国产成人观看免费| 91视频一区二区| 色狠狠色噜噜噜综合网| 欧美日韩五月天| 欧美成人综合网站| 国产日韩欧美一区二区三区乱码 | 日本一区二区三区久久久久久久久不| 国产人伦精品一区二区| 中文字幕在线播放不卡一区| 亚洲免费av高清| 欧美aⅴ一区二区三区视频| 国产成人丝袜美腿| 日本乱人伦一区| 日韩精品一区在线| 亚洲人成小说网站色在线| 亚洲成av人片在线观看无码| 久久精品国产一区二区| 成人小视频在线观看| 欧美综合一区二区| 精品国产91洋老外米糕| 国产精品二区一区二区aⅴ污介绍| 艳妇臀荡乳欲伦亚洲一区| 久久疯狂做爰流白浆xx| fc2成人免费人成在线观看播放| 欧美三级电影一区| 久久精品欧美一区二区三区不卡 | 亚洲va欧美va人人爽| 久久99热狠狠色一区二区| 91在线一区二区| 精品国产乱码久久久久久图片 | 国产精品福利影院| 日韩avvvv在线播放| 成人一区在线看| 91精品啪在线观看国产60岁| 国产精品午夜免费| 麻豆精品一区二区三区| 一本大道久久a久久综合| 欧美成人福利视频| 一区二区国产盗摄色噜噜| 欧美电影免费观看高清完整版在| 国产精品网曝门| 麻豆国产精品777777在线| 色综合天天做天天爱| 精品国产制服丝袜高跟| 亚洲国产成人av网| 成人夜色视频网站在线观看| 日韩欧美在线网站| 亚洲国产精品麻豆| 91丨九色丨蝌蚪丨老版| 久久久精品人体av艺术| 午夜免费欧美电影| 91影视在线播放| 久久精子c满五个校花| 六月婷婷色综合| 欧美高清激情brazzers| 亚洲六月丁香色婷婷综合久久 | 欧美日韩国产欧美日美国产精品| 中文字幕欧美三区| 国产精品影视在线观看| 日韩一区二区在线观看视频| 亚洲h精品动漫在线观看| 91九色最新地址| 亚洲天堂2014| 91色综合久久久久婷婷| 国产精品久久午夜| 国产激情视频一区二区在线观看 | 国产女主播在线一区二区| 久久精品99国产精品| 欧美另类变人与禽xxxxx| 亚洲一区影音先锋| 色天天综合久久久久综合片| 国产精品久久久久久妇女6080 | 国模无码大尺度一区二区三区| 欧美色精品在线视频| 伊人色综合久久天天| 96av麻豆蜜桃一区二区| 亚洲裸体在线观看| 在线视频欧美区| 一区二区免费看| 欧美丝袜丝nylons| 亚洲国产欧美另类丝袜| 欧美日本在线观看| 日韩av网站免费在线| 日韩一区二区三区视频在线观看| 三级久久三级久久| 日韩亚洲欧美在线观看| 久久精品国产99| 欧美国产国产综合| av在线播放一区二区三区| 亚洲精品成人天堂一二三| 欧美日韩中字一区| 蜜桃视频在线观看一区二区| 精品美女被调教视频大全网站| 国产精品伊人色| 亚洲欧洲日韩av| 欧美亚洲高清一区| 男人操女人的视频在线观看欧美| 热久久免费视频| 亚洲精品一线二线三线| 国产成人免费在线观看不卡| 成人欧美一区二区三区在线播放| 色偷偷成人一区二区三区91| 亚洲成人www| 日韩欧美一区二区久久婷婷| 国产一区二区三区观看| 国产精品免费免费| 欧美色涩在线第一页| 蜜桃av噜噜一区二区三区小说| 久久老女人爱爱| 色综合久久66| 蜜桃传媒麻豆第一区在线观看| 久久亚洲免费视频| 91色在线porny| 日韩成人一级片| 日本一区二区三区四区| 欧美三级电影网站| 国产一区二区成人久久免费影院 | 4438成人网| 国产91在线观看| 日韩在线一区二区| 国产人伦精品一区二区| 欧美日韩国产影片| 国产盗摄精品一区二区三区在线| 亚洲精品一二三| 精品国产精品网麻豆系列| 91免费看片在线观看| 美女精品一区二区| 中文字幕视频一区二区三区久| 91精品国产欧美日韩| 成人精品一区二区三区四区| 日韩一区欧美二区| 中文在线资源观看网站视频免费不卡 | 欧美日韩精品免费观看视频| 久久99在线观看| 亚洲一区二区免费视频| 欧美国产日韩一二三区| 91精品国产一区二区三区| 99免费精品视频| 国内成+人亚洲+欧美+综合在线| 亚洲第一在线综合网站| 国产精品三级电影| 精品国精品国产| 这里只有精品99re| 色诱视频网站一区|