Hello,

    I have put a new release with some improvement, some doc and add a new
method Release.

See : http://perso.club-internet.fr/rocherl/Win32GUI.html

    The Release Method must be call before all the window was destroy. The
best place is in the _Terminate handler. It's necessary for my container
class to release all the interface on the control before the activex window
was destroy. I don't know actualy how automaticly detect that.

> I downloaded Laurent's AxWindow package, and I created a wrapper for a
> WebBrowser object that acts like a regular Win32::GUI::Window (that is,
you
> don't need to worry about the special conventions for calling methods and
> registering events - you can call methods directly and if you define a sub
> for an event, the event will automatically be registered.)  I'll put it up
> somewhere this week, but if anybody's interested and impatient, I'll send
it
> to you by email.

    It's exactly what i have in mind.
    The goal of AxWindow package is to be a base class for derived package.
    I made one for DHTMD Edit control (see new samples in source zip).

    I have made an error in my sample with WebBrowser.
    I have put : -control => "SHDocVw.WebBrowser",
    but the correct way is : -control =>
"{8856F961-340A-11D0-A96B-00C04FD705A2}"

    Because, by default if the activex was not found, a webbrowser is open
with a html error page.
    In this case SHDocVw.WebBrowser is understand as a ProgId, but not exist
and not a webbrowser.
    The second way is the CLSID (ActiveX numeric identifier) and it's
webbrowser object.

    For list all ActiveX informations and CLSID, it's better to use
microsoft OleViewer utility.
    I think it's possible to donwload it from microsoft site if you don't
have VC++.

Laurent.


Reply via email to