Discussion:
What is the API call for the clipboard?
(too old to reply)
T
2020-10-27 08:18:50 UTC
Permalink
Hi All,

Windows 10
Windows 7

I need to be able to read and write text (not graphics)
to and from the clipboard. What is the API call for this?

Many thanks,
-T
R.Wieser
2020-10-27 11:17:35 UTC
Permalink
T,

What is the API call for this?

Do yourself a favour and try to google first.

Take a wild guess whatI found when I put the words you used (Windows 10
Clipboard API) into google ...

If you know its a Windows API than you can also narrow the search results by
prepending "site:docs.microsoft.com " (no double quotes, ending in a space)

Regards,
Rudy Wieser
T
2020-10-27 20:13:21 UTC
Permalink
Post by T
T,
What is the API call for this?
Do yourself a favour and try to google first.
Take a wild guess whatI found when I put the words you used (Windows 10
Clipboard API) into google ...
If you know its a Windows API than you can also narrow the search results by
prepending "site:docs.microsoft.com " (no double quotes, ending in a space)
Regards,
Rudy Wieser
Hi Rudy,

I used duck duck go and got a lot of hits on "clip".

And I am only presuming it is an API call.

Your search term pulled some nice hits. I do believe
this is what I want:

https://docs.microsoft.com/en-us/windows/win32/dataxchg/clipboard

And here are some examples:

https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.clipboard?view=netcore-3.1

Thank you!

-T
R.Wieser
2020-10-28 06:59:49 UTC
Permalink
T,
Post by T
I used duck duck go and got a lot of hits on "clip".
Using DDG will ofcourse also work. :-) Be carefull though: "clip" also
means a lot of other things (as you probably already noticed). IOW, you
will than get a lot of results that have nothing to do with what you're
after.

So my approach is to use a number of words specifying what I'm after, and if
too few results are returned remove one or two words.

For instance, when I throw "Windows 10 Clipboard API" into DDG *the very
first result* is the first link you posted.
Post by T
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.clipboard?view=netcore-3.1
So you are using the dot-net programming language ? That would have been
good to know with your origional question. I myself use the raw API calls,
like the "GetClipboardData" found in that first link of yours. Quite a
difference.
Post by T
Thank you!
You're welcome. :-)

Regards,
Rudy Wieser
T
2020-10-28 20:41:12 UTC
Permalink
Post by R.Wieser
So you are using the dot-net programming language ?
Raku
R.Wieser
2020-10-29 08:28:43 UTC
Permalink
T,
Post by R.Wieser
So you are using the dot-net programming language ?
Raku
Ah yeah, sorry. I remember now.

Regards,
Rudy Wieser
Mudasir Nabi
2020-11-07 04:32:14 UTC
Permalink
Post by R.Wieser
T,
Post by R.Wieser
So you are using the dot-net programming language ?
Raku
Ah yeah, sorry. I remember now.
https://office-settup.com/
Regards,
Rudy Wieser
Loading...