[Mono-winforms-list] Implementing file icons on Windows

Jordi Mas jordi at ximian.com
Tue Sep 13 16:28:38 EDT 2005


El dt 13 de 09 del 2005 a les 13:40 +0200, en/na Kornél Pál va escriure:
> Hi,
> 
> Unlike Linux, Windows associates icons based on extension and optionally on
> custom icon handler DLLs and don't care about MIME types.
> 
> I want to implement icon handling using SHGetFileInfo and system image list.
> This meas however that I have to modify ImageList to use and interface based
> multi-implementation design like our theming system because system image
> list is a native Windows image list.
> 
> Is it OK to to so?

Kornél, keep in mind that this is a "managed" Windows implementation of
System.Windows.Forms. We are trying to share as maximum as possible
between platforms.

I think that is better if you come up with a way where adding little
code to the already existing managed implementation you can archive what
you need specifically for Win32. Re-implementing ImageList and having
separate implementations I do not think is an option and will break our
current design.

Can you please explain a bit more that you need, which members and
behaviour of ImageList will affect? 

Thanks Kornél,

Jordi,

-- 
Jordi Mas i Hernàndez - Mono development team - http://www.mono-project.com
Homepage and LiveJournal at http://www.softcatala.org/~jmas




More information about the Mono-winforms-list mailing list