There has been an ongoing thread about listboxes that I started and this was brought up in there but I wanted to break this off to a new topic so that soe new people might take a look..
I am trying to make that little arrow show up in my listboxes column header based on how the column is sorted it at all..
10 different ways to skin a cat and amazingly enough each and every one has the same result, the cat gets skinned! The same can be applied to code, so be nice and accept each others "preferences".
There is no easy way (i.e. setting a property) to do this. You would have to owner draw the header and draw the appropriate image in the appropriat column.
There is no easy way (i.e. setting a property) to do this. You would have to owner draw the header and draw the appropriate image in the appropriat column.
Thanks for the link, unfortunatly is is C# also.. Not to familiar with that but I am digging.. Thanks
10 different ways to skin a cat and amazingly enough each and every one has the same result, the cat gets skinned! The same can be applied to code, so be nice and accept each others "preferences".
Like i said earlier I am not all that familiar with C# so I appologise if I am missing something, but I do not see anything relating to the arrows.. I see the sorting and such and I think I understand that but nothing on the arrow.. Help..
10 different ways to skin a cat and amazingly enough each and every one has the same result, the cat gets skinned! The same can be applied to code, so be nice and accept each others "preferences".
In the OnPaint of the HeaderControl.cs is where he draws the arrows
Ahhhh.. I see it now. Thx.
10 different ways to skin a cat and amazingly enough each and every one has the same result, the cat gets skinned! The same can be applied to code, so be nice and accept each others "preferences".