?? 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 + -