我们正在使用HDM_SETIMAGELIST在ListView标题控件上设置图像列表:
ImageList ilSortImages;
IntPtr hc = SendMessage(lvwSearchResults.Handle, LVM_GETHEADER, (UInt32)0, (UInt32)0);
// Add the image list to the header control.
SendMessage(hc, HDM_SETIMAGELIST, (UInt32)0, (UInt32)ilSortImages.Handle);
是否需要解除分配从HDM_SETIMAGELIST消息返回的图像列表(如果它不是NULL)?