How to load icon in clipboard!

  • Thread starter Thread starter Ahmad Jalil Qarshi
  • Start date Start date
A

Ahmad Jalil Qarshi

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
 
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
 
but i dont think so that there would be no method to copy icon in clipboard.
 
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
 
Back
Top