Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API Calls for clipboard text
Message
From
25/05/1999 19:22:35
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
API Calls for clipboard text
Miscellaneous
Thread ID:
00222712
Message ID:
00222712
Views:
56
Anyone know the win api calls to get the data from the clipboard and store it to a variable? I am using VFP5.0 and have looked at _cliptext and getclipdata() in foxtools.fll and none of these return the 'correct' value. The _cliptext seems to strip the chr(13) chr(10) and getclipdata() doesn't seem to do anything(I am using openclip() first).

Let me explain a little more. I make a call to another application(written in C++) that sends me back some information on the clipboard. When I look at the clipboard with clipbrd.exe everything looks fine, when I paste the clipboard text into any other application it pastes fine. But when I look at the text in FoxPro it seems to remove any chr(13) chr(10) information. I need to parse this data and the chr(13) chr(10) characters are the sperators. Any Ideas? Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform