views:

26

answers:

0

Hi!

I am developing a mailing system. Messages can have attachments.

I'm asking you for an advice how can I show in a winform the presence of the attachment (its name and extention)?

First thing that comes in mind is a list, which, although I could make it expanding or give it a fixed width and scroll it, takes too much space from the form.

For example does anyone know how outllok displays attachments? (I suppose the whole header [From, Subject, Date, ...] is html)

Thank you!

Update:
If anyone is interested, my needs were solved by making message header as webbrowser control (.NET). Attachments are represented by dynamically added buttons as HtmlElement objects (flat style, so it looks as label) and when handling click event I know button's id.