Mikael
You wrote in message news:a122s4$npk84$
[hidden email]...
> I am wrapping an ActiveX control that needs the hwnd of the window that is
> is placed inside. As I recall, I get the hwnd simply by sending
#asParameter
> to the Shell that the view belongs to, but I am getting strange error
> messages from the control. Is #asParameter the correct way of getting the
> hwnd? ...
That would depend on whether you have embedded the control directly in the
shell, which seems unlikely?
You must send #asParameter to relevant View, not the Presenter.
Regards
Blair