frmcustomdrawlv.frm
来自「在listview中使用不同的字体或颜色」· FRM 代码 · 共 40 行
FRM
40 行
VERSION 5.00
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.2#0"; "COMCTL32.OCX"
Begin VB.Form frmCustomDrawLV
AutoRedraw = -1 'True
Caption = "Subclass Demo"
ClientHeight = 2925
ClientLeft = 2835
ClientTop = 1485
ClientWidth = 6000
LinkTopic = "Form1"
ScaleHeight = 195
ScaleMode = 3 'Pixel
ScaleWidth = 400
Begin ComctlLib.ListView lvCustomDraw
Height = 2925
Left = 0
TabIndex = 0
Top = 0
Width = 6000
_ExtentX = 10583
_ExtentY = 5159
View = 3
LabelWrap = -1 'True
HideSelection = -1 'True
_Version = 327682
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 0
End
End
Attribute VB_Name = "frmCustomDrawLV"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
' demo project showing how to custom draw single items in a listview
' by Bryan Stafford of New Vision Software
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?