How to add system drives icons to tree View
-
I want to add system drives including dektop, network, my doc icons to my tree view. How can i get the images of the drives and other drives of the system. I used dirveinfo() but not doing my work.
You'd need to load those icons from the windows dll's that hold them and add um to an Imagelist. Then access the correct icon from the image list from there, or (depends on what you are trying to do) just add a
System.Windows.Forms.FolderBrowserDialog
-Spacix All your skynet questions[^] belong to solved
-
I want to add system drives including dektop, network, my doc icons to my tree view. How can i get the images of the drives and other drives of the system. I used dirveinfo() but not doing my work.
U can get system icon by pass the Index for systemIcon class.
Cheers,Earn and Enjoy RRave MCTS,MCPD http://ravesoft.blogspot.com