For example, what did Wordpad do when I press "Ctrl + C"? It puts many different formats on the clipboard. So Notepad can get text without any color or font ... etc., and you can still save the original format when you paste it into another Wordpad window.
MSDN said I have to call SetClipboardData repeatedly. But this does not work at all.
c ++ windows clipboard delphi
trudger
source share