Hi Christof,
It's not good news.
I'm sorry, it was only idea, I don't test it, because I have not free time. This operty is Write-Only.
Greather then You? He he he...
Maybe use API for finding Form's child window that class is "Shell Embedding" and this window must have child window with class "Shell DocObject View".
MartinJ
PS: The mozilla Web Controls have this property ReadOnly but return always 0.
>Hi Martin,
>
>>But you can use BINDEVENT() for binding WM_KEYUP a WM_KEYDOWN on OCX controls (property hwnd)
>
>Have you made this work with the webbrowser control? Since the browser also supports an HWND property, the ActiveX container shows both of them. Trying to get the handle with oleWeb.hwnd or oleWeb.control.hwnd raises a COM error "OLE error code 0x80004005: Unspecified error". At least it does for me.
>
>If you know a way to access the ActiveX container property instead of the ActiveX control property or have another solution to reliable obtain the HWND, that would be great.