B
bern11
I have an data structure with a bitmap as a member. I want to be able
to copy the object to the clipboard and paste it back into my app as a
new object, or into another app as a bitmap. It looks like the
dataobject class does this, but I'm not exactly sure how to set it up.
1) Should I just make a DataObject and call SetData twice, once with a
Bitmap object and once with a custom object, or 2) should I inherit from
dataobject and overload? 1st one sounds easier.
to copy the object to the clipboard and paste it back into my app as a
new object, or into another app as a bitmap. It looks like the
dataobject class does this, but I'm not exactly sure how to set it up.
1) Should I just make a DataObject and call SetData twice, once with a
Bitmap object and once with a custom object, or 2) should I inherit from
dataobject and overload? 1st one sounds easier.