MessageWindow Consternation with HTMLControl

  • Thread starter Thread starter Kevin Hutchison
  • Start date Start date
K

Kevin Hutchison

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.
 
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.
 
Thanks for the info! Appreciated, I had expected something like that, since
there had been so many previous postings wrt HTML & CF.

- H.
 
It is fairly easy to trap the hotspot click in the HtmlViewer with a few modifications. I've emailed you guys code samples
 
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 said:
It is fairly easy to trap the hotspot click in the HtmlViewer with a few
modifications. I've emailed you guys code samples
 
Back
Top