|
-
May 8th, 2001, 05:23 PM
#1
Thread Starter
Member
Clipboard API calls??
Ok...I'm currently using Clipboard.SetText/GetText to write a clipboard monitor program. My problem is that it doesn't work 100% of the time, mainly when I copy something out of a Microsoft program (go figure!), then try to restore a previous clipboard entry. Other than that it works. Example:
-Copy "whatever" from some program, it gets stored in the list of
clipboard entries in my prog
-Copy "ASDF" while in MS Word, gets put in the list
-Click on "whatever" in my program and hit the "Copy" button, it does Clipboard.settext "whatever"
-Hit CTRL-V in form on some webpage and "ASDF" gets pasted
What's the deal?? Are there Clipboard API functions that I can use that will fix this? If so, I would only need something similar to Clipboard.GetText and Clipboard.SetText. Thanks for any replies.
Now the world is gone I'm just one...
-
May 8th, 2001, 06:35 PM
#2
Fanatic Member
there are api functions, but you need to allocate global memory, and pass a pointer to it. it's messy to do with VB.
GWDASH
[b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]
-
May 9th, 2001, 12:21 PM
#3
For standard Cut, Copy and Paste, send the WM_CUT, WM_COPY and WM_PASTE messages
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|