Rewaya
asked on
ListView Header's Image
Dear Experts,
I'm working in a project (VC#-2008- Desktop app.)
where I need to assign images to the listview control
columns' headers
VIP Note :
I would like the image to be stretched to fit the column's header size
even if the user resizes the column
I found this article usefull
http://support.microsoft.com/kb/314933
but the image appears as it is, can't be stretched
Thanks all
I'm working in a project (VC#-2008- Desktop app.)
where I need to assign images to the listview control
columns' headers
VIP Note :
I would like the image to be stretched to fit the column's header size
even if the user resizes the column
I found this article usefull
http://support.microsoft.com/kb/314933
but the image appears as it is, can't be stretched
Thanks all
If you are using a ImageList, then the images will be fixed size. You would need to change the ImageSize property, and that would apply equally to each column.
ASKER
Thanks TheLearnedOne
U mean I have to get the column's header size if the user resized the column
then set the image size to the new size of the header ?
U mean I have to get the column's header size if the user resized the column
then set the image size to the new size of the header ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.