Jump to content
Xtreme .Net Talk

Recommended Posts

  • *Experts*
Posted

Use the System::Windows::Forms::Clipboard class which contains static method to put and retrieve items to/from the clipboard.

 System::Windows::Forms::Clipoard::SetDataObject(yourbitmapobject, true)
 

The second argument specifies if the object will remain in the clipbaord after the application exits.

Posted
Use the System::Windows::Forms::Clipboard class which contains static method to put and retrieve items to/from the clipboard.

 System::Windows::Forms::Clipoard::SetDataObject(yourbitmapobject, true)
 

The second argument specifies if the object will remain in the clipbaord after the application exits.

thanks for the reply, the above code is what i used, however i have an Image object not a Bitmap how do i specify that the Image is or should be treated as a bmp or jpeg etc...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...