Home All Groups Group Topic Archive Search About

How to clear only bitmap on the clipboard

Author
15 Nov 2007 1:38 PM
Dhananjay
Hi All,
How to clear only bitmap from the clipboard? Lets say I have one image
& some text on my clipboard. I set one picture on the clipboard using
setdata & format = VBCFBitmap. Now how can I clear only bitmap value?

Thanks in advance

Author
16 Nov 2007 11:37 AM
Mike Williams
"Dhananjay" <pandit.dhanan***@gmail.com> wrote in message
news:ac107bd0-0ce4-487b-b560-5d6713e0aea9@e25g2000prg.googlegroups.com...


> How to clear only bitmap from the clipboard? Lets say I have
> one image & some text on my clipboard. I set one picture on
> the clipboard using setdata & format = VBCFBitmap. Now
> how can I clear only bitmap value?

The only way I can think of offhand is to load the Clipboard text into one
variable and the Clipboard picture into another variable and then Clear the
Clipboard and then replace only the text. Otherwise, if you're interested
only in preventing others from getting hold of your picture I suppose you
could simply overwrite it with a different picture (some random pixels or
something), which would leave the text untouched. Better still of course
would be to NOT place the picture on the clipboard in the first place. Why
are you doing that? Perhaps there is a way of performing your task without
involving the clipboard?

Mike

AddThis Social Bookmark Button