Re: Toplevel -container and Win32::OLE ?
Vadim Konovalov <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Organization | Lucent Technologies |
| Message-ID | <1101113159.3013.12.camel@localhost> |
> Is it possible to use a -container Toplevel to > contain a Win32::OLE object ? I'm trying to figure > out how to open a web browser inside a Tk window. > I assume I need to (somehow) get the window ID of the > Toplevel and pass it to the Win32::OLE (or is it > the other way round ?). you could write special application that could be "placed" inside Toplevel (or Frame) via -use option, and it will use Win32::OLE. Although it is theoretically possible, and documentation says that application is responsible for processing X events, it is not documented on how you should process X events, and I, personally, did not succeeded doing this. Probably you should use ActiveX object. It is not available in perlTk, but it is available in its close relative Tcl::Tk module, see example screen shot at the bottom of http://vkonovalov.ru/perl-tcltk.htm there are Win32-native widgets used inside Tk application from within Perl. Vadim. -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubscribe from this mailing list, send the message body of "unsubscribe ptk" to [email protected]