I would like to know a function that returns the handle
of a form. The type has to be HWND.
I know that there is a funtion (this.Handle) that gives
me a handle of type IntPtr but the type I need is HWND.
How can I do?
Austin Ehlers - 25 Dec 2003 05:34 GMT
>I would like to know a function that returns the handle
>of a form. The type has to be HWND.
[quoted text clipped - 3 lines]
>
>How can I do?
Well, isn't HWND just a void* ? Just use the instance member function
IntPtr.ToPointer() to get a void*.
codymanix - 27 Dec 2003 04:34 GMT
simply cast it?
--
cody
[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk