Hi,
I'm looking at adding a Copy/Paste feature in my app, where the user can copy an instance of an object in one document to another. The objects are specific for my app (custom collections), so I can't use the normal Clipboard copy method of VB6.
From the documentation that I have dug up so far I understand that I have to create a custom format and use API's to put the data on the clipboard, and get it back from it. Unfortunately I've only found very generic / vague descriptions of how to do this, but no concrete samples.
Would anyone have some sample code on how to copy a custom object to the clipboard and the retrieve it back from there?
Thanks in advance!
Regards,
Erwin
I'm looking at adding a Copy/Paste feature in my app, where the user can copy an instance of an object in one document to another. The objects are specific for my app (custom collections), so I can't use the normal Clipboard copy method of VB6.
From the documentation that I have dug up so far I understand that I have to create a custom format and use API's to put the data on the clipboard, and get it back from it. Unfortunately I've only found very generic / vague descriptions of how to do this, but no concrete samples.
Would anyone have some sample code on how to copy a custom object to the clipboard and the retrieve it back from there?
Thanks in advance!
Regards,
Erwin