Home > Back-end >  How to add a disk to treeview control, plus the disk icon?
How to add a disk to treeview control, plus the disk icon?

Time:10-04

How to add a disk to treeview control, plus the disk icon?
I am a novice, thank you tell masters!

CodePudding user response:

1, traverse the disk (a few), specifically from the Internet, it should be easy to
2, adding disk drives ImageList ICONS (from the Internet you can find an icon file, or you can find from the system a)
3, one of the TreeView ImageList property connected to, in the program TreeView. Specify a ImageList ImageIndex the icon to go,

CodePudding user response:

Treeview can be associated a imagelist
Then the inside of the treeview each node can set up two ICONS
  • Related