POS Hook info


A

Alias

Is there anyway to capture what hook was triggered in my code. I would
like to get the "HookType" Any ideas ?

TIA
 
Ad

Advertisements

M

Matt

You can make a COM for each hook type and simply bring up a message box that
says the hook type.

Matt
 
A

Alias

Well, I have some generic code that is run when two different hooks are
tiggered. The thing is that in the generic code there is a small
routine I want to run only if one of the hooks are triggered and I dont
want to sperate this small routine into its own module.

So, the code/function to capture the hooktype would be in the generic
code module.

hope that makes sense.

TIA
 
G

Glenn Adams [MVP - Retail Mgmt]

No, there's no way to get the hooktype of the caller, or at least I wasn't
able to find one when I was looking for it. Just create small wrapper
classes with the Process() function then implement your common code in a
separate class or code module and call it from each of the wrappers.
 
Ad

Advertisements

A

Antonio Mazzeo

Alias said:
Is there anyway to capture what hook was triggered in my code. I would
like to get the "HookType" Any ideas ?
This is only an idea...

Pheraps from QSRules.SessionClass.Status it can to have information
about current status... but not the event...
antoni
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top