Obtaining IntPtr handle from System.Drawing.Icon

  • Thread starter Thread starter Maxim
  • Start date Start date
M

Maxim

Hello,


NETCF version of System.Drawing.Icon does not include the Handle
property. Is there any workaround to obtain a handle from an Icon
object ?


If not, how could I obtain an IntPtr handle to my icon given that code
:

System.Reflection.Assembly assembly =
System.Reflection.Assembly.GetExecutingAssembly();
System.IO.Stream stream =
assembly.GetManifestResourceStream("Project1.icon1.ico");
[ ??? ]



Thanks !
 
Back
Top