Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hooking

Status
Not open for further replies.

hyonos

Technical User
Apr 2, 2003
46
IT
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

how to do this ?
 
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]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top