Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pasting from the clipboard to a specified folder

Status
Not open for further replies.

Stretchwickster

Programmer
Apr 30, 2001
1,746
GB
Hi,

I want to be able to paste a picture previously copied to the clipboard into a preset folder. Is this possible using API commands? I've had a good look through a Win32 Core API book but couldn't find anything about pasting in that.

I'm guessing I'd need a API call to set the path and an API call to paste from the clipboard. Can anyone help?

Your advice would be much appreciated!



Clive [infinity]
Ex nihilo, nihil fit (Out of nothing, nothing comes)
 
>> I'm guessing I'd need a API call to set the path and an
>> API call to paste from the clipboard

Not exactly.

Look in the "Interprocess Communications" section of the Platform SDK for the Clipboard functions and structures. You might start with OpenClipboard(..)

-pete
I just can't seem to get back my IntelliSense
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top