PhrAtoR
asked on
system icons in tListview
Hi!
I want to show files with their associated icon in a TListview component.
Any idea how to do this?
Thanks
-PhrAtoR
I want to show files with their associated icon in a TListview component.
Any idea how to do this?
Thanks
-PhrAtoR
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That is a great answer!!! everything explained, sample code, just great :)
Thanks, Viktor! Thank you very much!
Yours,
Alex
Yours,
Alex
It goes right into my database the way it is.. no additional comments needed ;))
The code above was actually taken from an application you probably already have: the sample application I wrote for sending mails and faxes from a Delphi/BCB application. It's one of the How-To Projects in my site.
Just an additional last comment:
MAX_FILES_ATTACHED is the maximum number of files you want your ListView to accept. If you want no limit, you can safely remove the if..then clause (and the next 3 lines that belongs to that test) . Otherwise set it (as a const) to any value greater than 0.
Yours,
Alex
Just an additional last comment:
MAX_FILES_ATTACHED is the maximum number of files you want your ListView to accept. If you want no limit, you can safely remove the if..then clause (and the next 3 lines that belongs to that test) . Otherwise set it (as a const) to any value greater than 0.
Yours,
Alex
ASKER
As Victornet says: great answer :-)
Thanks
Thanks