I am looking for some thoughts on this.

I have successfully gotten the HTMLControl to work using C#, and it is
displaying HTML and receiving messages nicely. Unfortunately, I am not able
to receive notifications from the HTMLControl.

In an attempt to support this, I added a private MessageWindow derived class
to the control, instantiating it in the constructor (of the control).

Unfortunately, I am not receiving any messages from the HTMLControl. I do
receive a single message on the initial load of the form (13) but not from
the handle of the display window the control is using.

I have not found much documentation on the MessageWindow, aside from the
NotifyIcon example - which I followed. I thought that adding notifications
would be rather simple when looking at that code.

So, I am looking for thoughts on how to debug this - or where to look next.
My options seem straight forward:
1. The control isn't producing messages and needs some initialization to do
so.
2. It is producing messages but not directing them to where the
MessageWindow can receive them.
3. The MessageWindow should be receiving them, but isn't properly setup to
do so.

I other posts people have referred to CESpy, which I am not familiar with,
but am currently attempting to locate.

Re: MessageWindow Consternation with HTMLControl by Chris

Chris
Thu Jan 22 11:57:39 CST 2004

Spy++ is installed with eVC as a remote tool.

I don't think there's a way to get the messages without unmanaged code
(well, I think it's probably possible with an IMessageFilter, but I've not
looked into it), which is why the OpenNETCF viewer doesn't support thinks
like images and links.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


"Kevin Hutchison" <kjhutchison@hotmail.com> wrote in message
news:%237LM3sQ4DHA.2448@TK2MSFTNGP09.phx.gbl...
> I am looking for some thoughts on this.
>
> I have successfully gotten the HTMLControl to work using C#, and it is
> displaying HTML and receiving messages nicely. Unfortunately, I am not
able
> to receive notifications from the HTMLControl.
>
> In an attempt to support this, I added a private MessageWindow derived
class
> to the control, instantiating it in the constructor (of the control).
>
> Unfortunately, I am not receiving any messages from the HTMLControl. I do
> receive a single message on the initial load of the form (13) but not from
> the handle of the display window the control is using.
>
> I have not found much documentation on the MessageWindow, aside from the
> NotifyIcon example - which I followed. I thought that adding
notifications
> would be rather simple when looking at that code.
>
> So, I am looking for thoughts on how to debug this - or where to look
next.
> My options seem straight forward:
> 1. The control isn't producing messages and needs some initialization to
do
> so.
> 2. It is producing messages but not directing them to where the
> MessageWindow can receive them.
> 3. The MessageWindow should be receiving them, but isn't properly setup
to
> do so.
>
> I other posts people have referred to CESpy, which I am not familiar with,
> but am currently attempting to locate.
>
>



Re: MessageWindow Consternation with HTMLControl by Kevin

Kevin
Thu Jan 22 13:24:13 CST 2004

Thanks for the info! Appreciated, I had expected something like that, since
there had been so many previous postings wrt HTML & CF.

- H.


"Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message
news:%23K986ER4DHA.1596@TK2MSFTNGP10.phx.gbl...
> Spy++ is installed with eVC as a remote tool.
>
> I don't think there's a way to get the messages without unmanaged code
> (well, I think it's probably possible with an IMessageFilter, but I've not
> looked into it), which is why the OpenNETCF viewer doesn't support thinks
> like images and links.
>
> --
> Chris Tacke, eMVP
> Co-Founder and Advisory Board Member
> www.OpenNETCF.org
> ---
> Windows CE Product Manager
> Applied Data Systems
> www.applieddata.net
>
>
> "Kevin Hutchison" <kjhutchison@hotmail.com> wrote in message
> news:%237LM3sQ4DHA.2448@TK2MSFTNGP09.phx.gbl...
> > I am looking for some thoughts on this.
> >
> > I have successfully gotten the HTMLControl to work using C#, and it is
> > displaying HTML and receiving messages nicely. Unfortunately, I am not
> able
> > to receive notifications from the HTMLControl.
> >
> > In an attempt to support this, I added a private MessageWindow derived
> class
> > to the control, instantiating it in the constructor (of the control).
> >
> > Unfortunately, I am not receiving any messages from the HTMLControl. I
do
> > receive a single message on the initial load of the form (13) but not
from
> > the handle of the display window the control is using.
> >
> > I have not found much documentation on the MessageWindow, aside from the
> > NotifyIcon example - which I followed. I thought that adding
> notifications
> > would be rather simple when looking at that code.
> >
> > So, I am looking for thoughts on how to debug this - or where to look
> next.
> > My options seem straight forward:
> > 1. The control isn't producing messages and needs some initialization
to
> do
> > so.
> > 2. It is producing messages but not directing them to where the
> > MessageWindow can receive them.
> > 3. The MessageWindow should be receiving them, but isn't properly setup
> to
> > do so.
> >
> > I other posts people have referred to CESpy, which I am not familiar
with,
> > but am currently attempting to locate.
> >
> >
>
>



RE: MessageWindow Consternation with HTMLControl by respondtojoe_audette

respondtojoe_audette
Thu Jan 22 15:26:07 CST 2004

It is fairly easy to trap the hotspot click in the HtmlViewer with a few modifications. I've emailed you guys code samples

Re: MessageWindow Consternation with HTMLControl by Chris

Chris
Thu Jan 22 16:56:53 CST 2004

And for the rest, it looks like we'll have an updated HTMLViewer, with
designer support even, in the near future. As always I'll post an
announcement when we release it.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


"Joe Audette" <respondtojoe_audette@yahoo.com> wrote in message
news:4B9CB1A8-6756-4493-A3EF-69DF8F931B52@microsoft.com...
> It is fairly easy to trap the hotspot click in the HtmlViewer with a few
modifications. I've emailed you guys code samples