|
Posted by Glenn Adams [MVP - Retail Mgmt on July 28, 2005, 3:39 pm
Please log in for more thread options 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.
--
Glenn Adams
Tiber Creek Consulting
http://www.tibercreek.com glenn@tibercreek.com
----------------------------------------------
Please DO NOT respond to me directly but post all responses here in the
newsgroup so that all can share the information
> 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
>
|