Sort indicator bitmap in listview looks wierd when changing the system theme.

ajeeshco

Well-known member
Joined
Sep 19, 2006
Messages
257
Location
Cochin, India
Programming Experience
3-5
Hi,
I was trying to display the sort indicator arrow (a bitmap) in the column header of the listview control. But now the problem is, if we change the windows system theme then that bitmap looks wierd. do you have any hints or is it possible to make a column header similar(look and feel) to that of the windows explorer listview which is a 3D depressed arrow indicator which changes according to windows system theme.
 
That is a good question. I did some research and this link may help you out a bit. It talks about using Win32 API to redraw controls when the theme is changed. I know that you are looking to do something slightly different. But this may get you on the right track.

I am not all that sure that there is a way to see which theme the person is using and load a different image based on that.

Hope it helps!

http://www.codeproject.com/buttonctrl/nativewin32xpthemes.asp
 
Back
Top