OpenNETCF.Clipboard class offers a complete clipboard interface, but you
won't be able to extract bitmap bits from a picture box other than by
reading it pixel-by-pixel. I suggest writing a small C++ DLL that would use
imgdecmp.dll (
http://www.unsupportedsoftware.com/ce/dev/imgdecmp.htm) to
unpack your gif file and return a bitmap handle
"Robert Crago" <(E-Mail Removed)> wrote in message
news:05d201c3a59b$b265b630$(E-Mail Removed)...
> Hi there,
>
> I have a PictureBox that contains an image I created from
> a file thus:
>
> pictureBix1.Image = new Bitmap("Image.gif");
>
> Now I want to place that same image on the PPC clipboard
> so it can be pasted into other applications like Pocket
> Word or Notes.
>
> I can successfully paste text into the clipboard using
> DllImports but do not know how to access the underlying
> hBitmap (or whatever) to pass to SetClipboardData().
>
> Any suggestions?
>
> Thank you...
>
> Robert