G
George
I am creating a Bitmap as follows:
Bitmap b = new Bitmap("mypic.gif");
I am using P/Invoke and need to send a message (SendMessage()) with an
HBITMAP as a parameter. The Bitmap class doesn't seem to provide the
HBITMAP (at least not in CF). Can anyone tell me the easiest (and
hopefully simplest) way to obtain the handle? Any code snippets would
be greatly appreciated.
thanks,
George
Bitmap b = new Bitmap("mypic.gif");
I am using P/Invoke and need to send a message (SendMessage()) with an
HBITMAP as a parameter. The Bitmap class doesn't seem to provide the
HBITMAP (at least not in CF). Can anyone tell me the easiest (and
hopefully simplest) way to obtain the handle? Any code snippets would
be greatly appreciated.
thanks,
George