M
MEO
I have a form with a webbrowser control and am trying to send the
control's handle a
Microsoft.WindowsCE.Forms.MessageWindow.PostMessage with the relevant
scroll parameters to move the scrollbar. I managed to get this to
work fine with a multiline textbox but am having difficulties with the
webbrowser control.
I understand that I need to get a grandchild window (PIEHTML) of the
webbrowser control and post the message to that.
From examples I have found, I expected CE Remote Spy to show the
following:
<No Name> #NETCF_AGL_CONTAINER
<No Name> (IExplore)
<No Name> (MPSIE Status)
<No Name> (PIEHTML)
However it shows:
<No Name> #NETCF_AGL_CONTAINER
<No Name> (Shell Embedding)
<No Name> (Shell DocObjectView)
<No Name> (ATL:01EAA318)
<No Name> (WebView)
I am developing on a straight CE5 image (not PocketPC or Windows
Mobile) so does this use a different version of the webbrowser?
If anyone can shed any light I would be grateful.
Thanks.
control's handle a
Microsoft.WindowsCE.Forms.MessageWindow.PostMessage with the relevant
scroll parameters to move the scrollbar. I managed to get this to
work fine with a multiline textbox but am having difficulties with the
webbrowser control.
I understand that I need to get a grandchild window (PIEHTML) of the
webbrowser control and post the message to that.
From examples I have found, I expected CE Remote Spy to show the
following:
<No Name> #NETCF_AGL_CONTAINER
<No Name> (IExplore)
<No Name> (MPSIE Status)
<No Name> (PIEHTML)
However it shows:
<No Name> #NETCF_AGL_CONTAINER
<No Name> (Shell Embedding)
<No Name> (Shell DocObjectView)
<No Name> (ATL:01EAA318)
<No Name> (WebView)
I am developing on a straight CE5 image (not PocketPC or Windows
Mobile) so does this use a different version of the webbrowser?
If anyone can shed any light I would be grateful.
Thanks.