in reply to Re: Re: Using Win32::GUITEST for Win32 Applications containing ActiveX or other COM objects.
in thread Using Win32::GUITEST for Win32 Applications containing ActiveX or other COM objects.
To have a better control of the ActiveX control you can use the method GetOLE():
Note that the code above is for wxPerl (Wx), and not Win32::GUI.my $flash = Wx::ActiveX::Flash->new( $parent_frame , -1 , wxDefaultP +osition , wxDefaultSize ); use Win32::OLE ; my $OLE = $flash->GetOLE() ; my $version = $OLE->Invoke('FlashVersion') ; ## or just: my $version = $OLE->FlashVersion() ; print "$version\n" ;
If you want to keep using Win32::GUI, take a look in the module AxWindow at:
http://perso.club-internet.fr/rocherl/Win32GUI.html
(I don't know why it's not in CPAN yet).
The module AxWindow make the same thing that Wx::ActiveX does for Wx.
Regards,
Graciliano M. P.
-------------------------------------
Graciliano M. P.
"Creativity is the expression of the liberty".
|
|---|