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中的一个函数