Hi, I have an application with a treeview, with each node(child) linked to a file. I can read the file name and extension, and I want to put icons to the left of the treeview nodes. (see the picture)
For example, if the file is .xls, I will put an excel icon, etc.
I know I can do this by creating pictureboxes dynamically, but how can I adjust the lines? Because the application will be run in a lot of different computers which have different screen resolutions.
e.g. Can I get directly the pixel size of a treeview line?