Johan, Thanks very much.
-name => "Packagename::Controlname" works and is much simpler than changing the XS code. Cheers, Kev. Johan Lindstrom <[EMAIL PROTECTED]> Sent by: To: Perl-Win32-GUI-Users@lists.sourceforge.net [EMAIL PROTECTED] cc: eforge.net Subject: Re: [perl-win32-gui-users] GUI event handling in Modules 31/10/2001 15:30 At 12:58 2001-10-31 +0000, [EMAIL PROTECTED] wrote: >This may have come up before, in which case I apologise, but has anyone >tried creating a module to package up commonly used windows? I've been >trying this but found I have to export the event (Button_Click etc) >handlers into the Main namespace. Does anyone know if there is a way to >handle these within the namespace of the package? -name => "Packagename::Controlname" should work, but I have never tried it because of the obvious problems with accessing the control it would impose. /J ------ ---- --- -- -- -- - - - - - Johan Lindström Boss Casinos Sourcerer [EMAIL PROTECTED] http://www.bahnhof.se/~johanl/ If the only tool you have is a hammer, everything tends to look like a nail _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users