📄 06.txt
字号:
ListView控件特效
再也找不到比下面这个示例工程更全的ListView效果演示了。该示例程序运用了多达二十个API函数,从而使ListView产生出各种不同的效果。例如在ListView控件中显示图标,CheckBox,对其中的项目进行排序等等。
本示例程序中用到的二十个API函数分别是:
SHGetPathFromIDList SHBrowseForFolder FindFirstFile FindNextFile FindClose
FileTimeToSystemTime UpdateWindow ImageList_Draw SHGetFileInfo SendMessageLong
SendMessageAny GetObject SelectObject DeleteObject CreateFontIndirect
GetWindowLong SetWindowLong SetWindowPos GetDesktopWindow ShellExecute
其中ImageList_Draw是comctl32.dll中的一个函数
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -