G Grei Jan 9, 2005 #1 how to implement an arrow (triangle or whatever image) on ListView columnHeader which shows sorting order of clicked column? Thanx.
how to implement an arrow (triangle or whatever image) on ListView columnHeader which shows sorting order of clicked column? Thanx.
M Mohamoss Jan 9, 2005 #2 Hi You need to add the appropriate icons to your project and then use the ColumnHeader.Icon property to set the icon that show the current sort order Mohamed M .Mahfouz Developer Support Engineer ITWorx on behalf of Microsoft EMEA GTSC
Hi You need to add the appropriate icons to your project and then use the ColumnHeader.Icon property to set the icon that show the current sort order Mohamed M .Mahfouz Developer Support Engineer ITWorx on behalf of Microsoft EMEA GTSC
C Carlos J. Quintero [.NET MVP] Jan 10, 2005 #3 There is no way in .NET, you have to use native Win32 API calls, see LVM_GETHEADER and HDM_SETITEM messages, HDF_IMAGE and HDF_BITMAP_ON_RIGHT flags. Adapt from http://vbnet.mvps.org/index.html?code/comctl/lvheaderimage.htm -- Carlos J. Quintero MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET You can code, design and document much faster. http://www.mztools.com
There is no way in .NET, you have to use native Win32 API calls, see LVM_GETHEADER and HDM_SETITEM messages, HDF_IMAGE and HDF_BITMAP_ON_RIGHT flags. Adapt from http://vbnet.mvps.org/index.html?code/comctl/lvheaderimage.htm -- Carlos J. Quintero MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET You can code, design and document much faster. http://www.mztools.com