For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > January 2005 > FromHandle - how to make int in .Net CF









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author FromHandle - how to make int in .Net CF
George

2005-01-23, 4:04 pm

Hi

In .Net, there is a method called FromHandle
It allows to obtain an object having handle to it, from native code, for
example:
System.Drawings.Image.FromHandle(handle)

In .Net CF there is no FromHandle method in Image class (Icon, Bitmap too)
Do You know how to obtain an object having handle to it in .Net CF ?


Regards
George





Daniel Moth

2005-01-23, 4:04 pm

Looks like it has been discussed before in the CF ng:
http://groups-beta.google.com/group...arch+this+group

http://groups-beta.google.com/group...arch+this+group

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


"George" <sertom15@wp.pl> wrote in message
news:eCjWRyv$EHA.2104@TK2MSFTNGP14.phx.gbl...
> Hi
>
> In .Net, there is a method called FromHandle
> It allows to obtain an object having handle to it, from native code, for
> example:
> System.Drawings.Image.FromHandle(handle)
>
> In .Net CF there is no FromHandle method in Image class (Icon, Bitmap too)
> Do You know how to obtain an object having handle to it in .Net CF ?
>
>
> Regards
> George
>
>
>
>
>


Alex Yakhnin

2005-01-23, 4:04 pm

http://www.opennetcf.org/PermaLink....48-29eb89ee13bf

http://blog.opennetcf.org/ayakhnin/...60-e1ae9bed9cc3

--
Alex Yakhnin, .NET CF MVP

"George" <sertom15@wp.pl> wrote in message
news:eCjWRyv$EHA.2104@TK2MSFTNGP14.phx.gbl...
> Hi
>
> In .Net, there is a method called FromHandle
> It allows to obtain an object having handle to it, from native code, for
> example:
> System.Drawings.Image.FromHandle(handle)
>
> In .Net CF there is no FromHandle method in Image class (Icon, Bitmap too)
> Do You know how to obtain an object having handle to it in .Net CF ?
>
>
> Regards
> George
>
>
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com