I think I have something similar to what you are looking for.
However, I must say that I use the VBEvent_I.dll, which was made by MerrionComputin (Duncan, if you are reading this, please update the link to your project, it took me ages to find it)... So you need to download it. I can't distribute it without his permission.
Here is the source code: (You can compile it into a dll and the add it to your project going to "Project", "References" and "Browse...", then you check it [The name is "MCL EventVB Release I"] and the project will run) Source Code For EventVB
(EventVB is used in this project to know when your application loses focus to other applications)
And here is the project:
Last edited by Tec-Nico; Dec 20th, 2004 at 01:37 PM.
We miss you, friend... Rest in Peace, we will take care of the rest of it.
[vbcode]
On Error Me.Fault = False
[/vbcode]
- Silence is the human way to share ignorance
Tec-Nico
Wow! Thx for the post. I can't wait to try this. It will have to be this weekend, unfortunately.. but I will give it a shot.
Just when I had given up, too! Thx, Tec-Nico!
jk
Guess I can't make this work without the .dll, Tec. I wrote Duncan on Friday.. but still no word... but if I hear something I'll let you know! Thx again!
Jolene
If with a timer you kept the hwnd of the active window, would you be able to do what you want? You will be able to find the active window and the previous active window. But about the putting the text, it's tricky... Do you want to activate the previous window and paste or not? Or am I way off?
Has someone helped you? Then you can Rate their helpful post.