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 !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top