473,395 Members | 1,762 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Problem removing Icon from ListView ColumnHeader on WindowsVista

Hi,

I have added a soring icon to a ListView column header when the user
clicks on it. I want to remove this icon, when the user clicks on
another column by setting the image index to -1. That works perfect on
Windows XP but not on Vista. Is there a solution?

Thanks
Nov 18 '08 #1
1 2643
"Andi" <an***************@skillworks.dewrote in message
news:53**********************************@u29g2000 pro.googlegroups.com...
I have added a soring icon to a ListView column header when the user
clicks on it. I want to remove this icon, when the user clicks on
another column by setting the image index to -1. That works perfect on
Windows XP but not on Vista. Is there a solution?
If you don't get an answer here, try asking in
microsoft.public.dotnet.framework.windowsforms.con trols.
Nov 18 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: VR | last post by:
I have a form with a list view control, a button control and a main menu with menuDelete item. Any time I am handling a button click event or menuDelete click event I call DeleteItem() function...
0
by: John T | last post by:
I have the code I need to show a sort icon in the column header of a ListView control. The issue I have is that the image is always on the right side of the column header text. This isn't...
0
by: Jean Bredeche | last post by:
Hi: My application creates multiple forms, all of which appear in the taskbar. Because I have my Windows XP configured to "Group similar taskbar buttons", the multiple forms get put into the...
0
by: Meelis Lilbok | last post by:
Hi Is it possible to set listview's columnheader background image? No luck with drawcolumnheader :( Best regards; Meelis
11
by: rb | last post by:
Hi All, Is there a property or method to keep the headercolumns from being resized by the user for a listview? I am using Visual Basic in Visual Studio . net 2005 Thank you.
0
by: Vyz | last post by:
I have given icon like this to main frame of my program ib=wx.IconBundle() ib.AddIconFromFile("SriPadma.ico",wx.BITMAP_TYPE_ANY) self.SetIcons(ib and then I have made binary with py2exe and in...
0
by: lukgol3 | last post by:
Hello. I have a problem with class ListView. I want to create control based on my class 'LisCtrl' This is how I create my class: #pragma once public ref class ListCtrl :public...
1
by: Johnny Jörgensen | last post by:
Does anybody know if it's possible to insert CheckBoxes into ListView ColumnHeaders? I want the user to be able to select or deselct certain columns that way (if possible). Cheers, Johnny J.
0
by: shapper | last post by:
Hello, I created a ListView with a DataPager associated with it. The ListView renders as a table but I suppose it is irrelevant for the problem I describe here. I moved the ListView to a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.