hi!
i want to load an icon into the clipboard using win32 api. i have loaded the
BMP image using following function.
::SetClipboardData(CF_BITMAP, (HANDLE)hBmp);
but dont know how to load the icon.
Thanx.
Ahmad Jalil Qarshi
David Lowndes - 08 Mar 2005 09:51 GMT
>i want to load an icon into the clipboard using win32 api. i have loaded the
>BMP image using following function.
>::SetClipboardData(CF_BITMAP, (HANDLE)hBmp);
>
>but dont know how to load the icon.
As far as I know, there isn't a standard (CF_ICON format) for copying
icons to the clipboard.
Dave
Ahmad Jalil Qarshi - 08 Mar 2005 12:45 GMT
but i dont think so that there would be no method to copy icon in clipboard.
> >i want to load an icon into the clipboard using win32 api. i have loaded the
> >BMP image using following function.
[quoted text clipped - 6 lines]
>
> Dave
David Lowndes - 08 Mar 2005 15:50 GMT
>but i dont think so that there would be no method to copy icon in clipboard.
What other program do you expect to be able to paste the icon to? See
if you can find what clipboard format it expects icons to be in.
Dave