hi,
i want create an appication with hooking.
i run my applicatio "myfoxapp.exe"
if i press F9 in myfoxapp.exe messagebox appear.
after i run notepad.
when i press F9 in notepad i want receive same messagebox
You're talking about a global keyboard hook and it really isn't possible (I stop just short of saying it is impossible lest I am proved wrong) with VFP. There's no Callback functionality in VFP like AddressOf in VB. I've even tried using a COM DLL written in other languages and VFP EventHandler() to try and do this and VFP blows-up every time. If it is possible, I think that is the route you would have to go, though I did see something out on FoxWiki once where someone was able to simulate a callback using an fll, it was not a global keyboard hook implementation however.
Slighthaze = NULL
[ul][li]FAQ184-2483 An excellent guide to getting a fast and accurate response to your questions in this forum.[/li][/ul]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.