[perl-win32-gui-users] Re: [perl-win32-gui-users] Using Win32::GUI events within a class or a package?

2005-09-20 Thread Emmanuel E
Thanks Jeremy. I will wait for the next release. Right now I will use a global. Emmanuel > --- Ursprüngliche Nachricht --- > Von: "Jeremy White" <[EMAIL PROTECTED]> > An: [EMAIL PROTECTED] > Kopie: perl-win32-gui-users@lists.sourceforge.net > Betreff: Re: [perl-win32-gui-users] Using Win32::GUI e

Re: [perl-win32-gui-users] Using Win32::GUI events within a class or a package?

2005-09-20 Thread Jeremy White
oh no! what i meant was something like this: sub StartClick { my $self = shift; #Here $self is the button that was clicked. #How do I access the window that this button is part of? #I want to change certain parts of the window when the #button Start is clicked. } On

Re: [perl-win32-gui-users] Using Win32::GUI events within a class or a package?

2005-09-20 Thread Jeremy White
I try to get the handle of the window by $self->GetWindow(GW_OWNER); but it returns 0 :( In most case you dont need to use the handle - if you do need the handle you can use: $self->{-handle) Further is it possible to access the other controls that are part of the window by using the window