Re: Using Win32Lib's geFileInfo to show system icon
- Posted by Jonas Temple <jtemple at yhti.net> Jan 25, 2006
- 467 views
Larry Miller wrote: > > Yes, setting a Treeview control to use the system imagelist will will not > allow > the use of Win32Lib's imagelist for the treeview. For normal images a Treeview > can use only one imagelist at one time. Bummer > If the Treeview were created and the populated only once there should be no > problem. But if the same directories are repeatedly accessed and updated in > the treeview there will likely be problems over time, particularly with Win98. > If I knew more of what you were trying to accomplish I may be able to help > more. What I'm doing is presenting a Unix-like file system through a Windows interface. The user can open the file on the system on the local PC and I want to show the usual Windows icon so the user knows what will open the file. It's working now but I guess I need to figure out how to use both my custom icons and icons from the system. Here's a screen shot of the window: http://66.140.221.68/TreeView1.jpg Jonas Temple http://www.yhti.net/~jktemple