Is there anyway to capture what hook was triggered in my code. I would like to get the "HookType" Any ideas ?
TIA
Is there anyway to capture what hook was triggered in my code. I would like to get the "HookType" Any ideas ?
TIA
You can make a COM for each hook type and simply bring up a message box that says the hook type.
Matt
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
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.
"Alias" ha scritto nel messaggio news: snipped-for-privacy@z14g2000cwz.googlegroups.com...
This is only an idea...
Pheraps from QSRules.SessionClass.Status it can to have information about current status... but not the event... antoni
Have something to add? Share your thoughts — no account required.
Ask the community — no account required