Jump to content

How to get all data from clipboard?


Recommended Posts

Hello!

I know that data in clipboard exists in several formats ($CF_TEXT, $CF_OEMTEXT, etc). Sometimes we have 4 formats, sometimes 8 or more. We can retrieve data in specified format to variable using _ClipBoard_GetData(). But can you tell me, is it possible to get "snapshot" of ALL clipboard data (in any existing format) to 2-dimentional array?

Later I wish to "fill" empty clipboard with the data from this 2-d array.

Link to comment
Share on other sites

And the second question: what the differrence beetwen _ClipBoard_GetData and _ClipBoard_GetDataEx?

Text for text based formats or Binary data for all other formats, +If you need a finer degree of control over retrieving data from the clipboard, you may want to use the _ClipBoard_GetDataEx function.

Handle to a clipboard object in the specified format

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...