| 
      
      
      From: Forhan, M. <Mic...@tr...> - 2001-07-18 19:14:26
      
     | 
| 
>  -----Original Message-----
> From: 	Forhan, Michael  
> Sent:	Friday, July 13, 2001 1:10 PM
> To:	'per...@li...'
> Subject:	Win32::GUI Events
> 
> Is there a way to 'intercept' a call to a subroutine, and handle it
> elsewhere? I'm aware that if a subroutine is called, but doesn't exist,
> you can use a 'sub AUTOLOAD {' and reference '$AUTOLOAD' to get the name
> of the subroutine that the program is after. Unfortunately, this doesn't
> seem to function for Events (if I leave out the Cancel_Click event for
> instance, Autoload is never hit) I've been thinking about designing a
> subroutine that just analyzes the type of event requested and performs
> different processes according to the type.
> 
> Thanks,
> -Mike
> 
 |