kyue
12-19-2006, 05:19 PM
Hello,
I'm currently confused with a problem that I'm having with WM 5.0. I
have an application that uses an HTML control inside a Dialog box. My
HTML page is a form with <textarea>, radio buttons and drop down menus
for the user to select. What I am trying to do is grab the data from
the HTML page. I'm using the struct NM_HTMLVIEWA to pull the query
data in szData, but szData returns an empty string. The struct also
has another variable called szTarget, and there's always something in
there. The odd thing is that this application works (ie. szData is not
empty) in Pocket PC 2003, but not in WM5. I've encountered this
problem before and it was because WM_NOTIFY receives the message in
ANSI form. So using NM_HTMLVIEW of NM_HTMLVIEWW will only produce
gibberish. I've tried all the different encodings on WM5 with no
success.
So I'm not sure is there is a difference in the HTML Control between
PPC 2003 and WM5?
Unfortunately, I only have eVC++ 4.0 so the only way I'm debugging is
using ASSERT statements and Message Boxes.
If anyone has any ideas why this may be, I would really appreciate it!
Kathy
I'm currently confused with a problem that I'm having with WM 5.0. I
have an application that uses an HTML control inside a Dialog box. My
HTML page is a form with <textarea>, radio buttons and drop down menus
for the user to select. What I am trying to do is grab the data from
the HTML page. I'm using the struct NM_HTMLVIEWA to pull the query
data in szData, but szData returns an empty string. The struct also
has another variable called szTarget, and there's always something in
there. The odd thing is that this application works (ie. szData is not
empty) in Pocket PC 2003, but not in WM5. I've encountered this
problem before and it was because WM_NOTIFY receives the message in
ANSI form. So using NM_HTMLVIEW of NM_HTMLVIEWW will only produce
gibberish. I've tried all the different encodings on WM5 with no
success.
So I'm not sure is there is a difference in the HTML Control between
PPC 2003 and WM5?
Unfortunately, I only have eVC++ 4.0 so the only way I'm debugging is
using ASSERT statements and Message Boxes.
If anyone has any ideas why this may be, I would really appreciate it!
Kathy