|
-
Jun 15th, 2000, 08:37 AM
#1
Thread Starter
New Member
Using vb6.0
I have a form which is "always on top." I want to be able to select (highlight) text in any app and the click a button on my form (which is on top) and copy the selected text to the clipboard.
I have tried using:
<< Clipboard.SetText Screen.ActiveControl.SelText >>
but, the window containing the highlighted text is no longer the active window.
How do I reference a window which is no longer active (or was the last active)?
I thought about opening apps within a VB window and using:
<< Clipboard.SetText ActiveForm.ActiveControl.SelText >>
but, this is not my best resolve.
Any ideas?
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
|