|
-
Jan 19th, 2010, 08:39 AM
#7
Re: open directory
It WON'T draw images for you. You should tell with your code how and where to draw them.
Your code simply adds file names into a Listbox, that's all. You have to code where and how do you want your images to be drawn.
As I already said, if you want ICONS then use ExtractAssociatedIcon method to extract icons and then turn on the OwnerDraw property and draw each listbox element yourself.
If you want to draw actual images (jpgs, etc) you will have to LOAD these images from disk into an IMAGE object and then DRAW them somewhere.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|