The OpenFlight API does not provide a function for this. It is out of scope for the OpenFlight API capability.
However, you can use the C-runtime to help. I did a simple Google search on how to copy string to windows clipboard and found plenty of options. Here is a good one that should help you:
http://stackoverflow.com/questions/1264137/how-to-copy-string-to-clipboard-in-c
Craig
Hi,
How to copy the cmComment in code below to clipboard in order to paste in comment field of a polygon.
If I click a button in my plugin the comment for that should be copied to clipboard. Can someone add/modify the code snippet for that in below code sample?