Re: Context Menu for Embedded WebBRowser
- From: "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
- Date: Tue, 13 Dec 2005 16:50:55 -0700
I don't remember how the WebBrowser control works. Doesn't it have some
means of notifying the application of various things? I'm not a Pocket PC
programmer, so I just embed the Internet Explorer ActiveX control in my
code, when I need a browser, and it tells me all kinds of things about
what's going on, most of them useless. The WebBrowser wrapping was designed
as a much simpler Web browser interface, so maybe it doesn't tell you that.
I can't think of any way, other than what you've already tried (you've tried
this with PIE, right? Making sure that you're trapping messages for all
windows up the stack from the immediate parent of the browser window?), to
figure out what else it might be doing; you don't get WebBrowser source
code...
Paul T.
"Neil D" <neilSP@xxxxxxxxxxxxxx> wrote in message
news:OsD7h8DAGHA.2156@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Paul
>
> I've looked into remote spy but can't seem to pick-up any messages when I
> click on the context menu. I know I need to control the full-screen at
> the application level and can do that, but once it's in full screen then
> the context menu is the standard way to return to normal but if I don't
> get to see the event then I can't do anything about it. An alternative
> (not ideal) would be to remove the full screen functionality but I don;t
> seem to have control over the context menu either to modify it or remove
> it. Without a soultion to this it makes the application look a little
> unprofessional to have a context menu item that doesn't actually do
> anything.
>
> I find it hard to believe that this issue hasn;t been discovered by
> Microsoft so surely there is a solution.
>
> Cheers
>
> Neil
>
>
> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
> wrote in message news:e9PUZVz$FHA.1600@xxxxxxxxxxxxxxxxxxxxxxx
>> Full screen support has to be implemented at the application level. I
>> have not done much with the IE on PPC, but it seems like it might simply
>> be sending a message to its parent window. How about using Remote Spy++
>> and seeing what messages are sent when you choose that menu item?
>>
>> Paul T.
>>
>> "Neil D" <neilSP@xxxxxxxxxxxxxx> wrote in message
>> news:OcIoYvS$FHA.3660@xxxxxxxxxxxxxxxxxxxxxxx
>>> Hi
>>>
>>> I'm using WM5.0, CF2.0 and have an embedded webbrowser control on a
>>> form. The problem is that the fullscreen menu item from the context menu
>>> doesn't work. Is there a way to capture the context menu events and
>>> implement this or alternatively a way to remove the Full Screen entry
>>> from the menu. Full Screen support would be prefereable.
>>>
>>> On the subject of the embedded webbrowser is it also possible to mimic
>>> the full PIE functionality for the View and Zoom menus?
>>>
>>> Cheers
>>>
>>> Neil
>>>
>>
>>
>
>
.
- References:
- Context Menu for Embedded WebBRowser
- From: Neil D
- Re: Context Menu for Embedded WebBRowser
- From: Paul G. Tobey [eMVP]
- Re: Context Menu for Embedded WebBRowser
- From: Neil D
- Context Menu for Embedded WebBRowser
- Prev by Date: Re: Context Menu for Embedded WebBRowser
- Next by Date: Re: Saving data as XML file on windows CE
- Previous by thread: Re: Context Menu for Embedded WebBRowser
- Next by thread: Re: about changing the fonts and font size in datagrid
- Index(es):
Relevant Pages
|