Sign in to follow this  
Followers 0
Andreik

ImageList resize images

2 posts in this topic

I have an ImageList with almost 400 images 64x64 px and I want to reuse them with a TreeView but as 16x16 px to look normal for this control. Is there any fast way to resize the images from ImageList?


When the words fail... music speaks

Share this post


Link to post
Share on other sites



Just an idea: you can get the image handle using _GUIImageList_GetImageInfoEx() function, resize the image using GDI+ and convert it back to the GDI format but I don't know how to use that shrinked image directly in treeview without using an imagelist.

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0