General information
Category:
Windows API functions
>>>>I am tyring to display icons for any type of file, similar to the windows explorer. (I.E. - display the correct icon for a >I got my hands on your article and it gives me exactly what I need to create the icons. The only challenge I have now is to store them to the imagelist. Thank you SO MUCH for your help!
>
>The only problem that I see with using the imagelist control is that you're going to have to (at some point) get the icon into one or more files. In development, this isn't that big a deal. Runtime might be a far different story. One underused, and undertalked about control that you can utilize for the image list is the PictureClip control. It allows you to store numerous similar sized images in a single bitmap, and reference them via the GraphicCell property. The advantage is that rather than having to store, say 10 individual bitmaps in the executable and load them individually, there's a single bitmap to store and load. This can, obviously, help improve performance.
Since the imagelist will accept a filepath or an object in its add method, I'm trying to figure out if I can create an object that contains the drawn icon. Do you have any idea if or how this could be done?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only