How to place multiple formats on the clipboard?
Posted
by trudger
on Stack Overflow
See other posts from Stack Overflow
or by trudger
Published on 2010-04-21T17:04:53Z
Indexed on
2010/04/21
17:53 UTC
Read the original article
Hit count: 162
For example, what Wordpad did when I press "Ctrl+C"? It places many different format to clipboard. So Notepad can get the text without any color or font...etc, and you still can keep the original format when you paste in another Wordpad window.
The MSDN said I should call SetClipboardData multiple times. But it doesn't work at all.
© Stack Overflow or respective owner