 |
|
 |
Hi,
I use this control. It can compile and run. But the html content cannot display on the dialog. Who knows why? My platform is armv4i and wince5.0.
Thanks for help!
Titan
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I had the same problem (for just a few seconds) because I didn't completely perform this step:
"Change the super class of your dialog form CDialog to CSTHtmlDialog."
I had to manually change some occurences in the source code.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
1>------ Build started: Project: redbook, Configuration: Release Pocket PC 2003 (ARMV4) ------ 1>Compiling... 1>stdafx.cpp 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(102) : warning C4005: 'MoveMemory' : macro redefinition 1> C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winnt.h(6572) : see previous definition of 'MoveMemory' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(103) : warning C4005: 'CopyMemory' : macro redefinition 1> C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winnt.h(6573) : see previous definition of 'CopyMemory' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(104) : warning C4005: 'FillMemory' : macro redefinition 1> C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winnt.h(6574) : see previous definition of 'FillMemory' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(105) : warning C4005: 'ZeroMemory' : macro redefinition 1> C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winnt.h(6575) : see previous definition of 'ZeroMemory' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(306) : error C2146: syntax error : missing ';' before identifier 'PVOID' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(306) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(308) : error C2065: '__in_opt' : undeclared identifier 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(308) : error C2146: syntax error : missing ')' before identifier 'PVOID' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(308) : warning C4229: anachronism used : modifiers on data are ignored 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(309) : error C2059: syntax error : ')' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(314) : error C2146: syntax error : missing ';' before identifier 'PVOID' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(314) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(314) : error C2086: 'int __out_opt' : redefinition 1> C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(305) : see declaration of '__out_opt' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(316) : error C2146: syntax error : missing ')' before identifier 'PVOID' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(316) : warning C4229: anachronism used : modifiers on data are ignored 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(317) : error C2059: syntax error : ')' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(322) : error C2146: syntax error : missing ';' before identifier 'PVOID' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(322) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(322) : error C2086: 'int __out_opt' : redefinition 1> C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(305) : see declaration of '__out_opt' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(324) : error C2146: syntax error : missing ')' before identifier 'PVOID' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(324) : warning C4229: anachronism used : modifiers on data are ignored 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(325) : error C2059: syntax error : ')' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(330) : error C2146: syntax error : missing ';' before identifier 'PVOID' 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(330) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\include\winbase.h(330) : error C2086: 'int __out_opt' : redefinition ... 1>Build log was saved at "file://d:\downloads\STHtmlDialog_SampleApplication\HtmlTest\Pocket PC 2003 (ARMV4)\Debug\BuildLog.htm" 1>HtmlTest - 115 error(s), 37 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 1>
and what should i do?
|
| Sign In·View Thread·PermaLink | 3.00/5 (3 votes) |
|
|
|
 |
|
 |
i want to embed a Htmlview into other window, but the EVC no support the CHtmlView, How can i do?
|
| Sign In·View Thread·PermaLink | 4.00/5 (3 votes) |
|
|
|
 |
|
 |
Thanks for making this available.
The zip file included HtmlWnd.cpp and HtmlWnd.h. I'm wondering what they are for, because they aren't part of the project ... I was able to compile and link without them.
There seems to be similar functionality as CSTHtmlDialog::CreateHtmlWindow().
Perhaps they are for using in a CFormView or CDialog?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi, there are 2 problems: 1. I could not find "htmlview.dll" in my computer, so the first method does not work. 2. "STHtmlDialog.cpp" includes "resource.h", but there comes the error: fatal error C1083: Cannot open include file: 'resource.h': No such file or directory"
How to solve them? Thank you~~
Bysakura
|
| Sign In·View Thread·PermaLink | 1.29/5 (3 votes) |
|
|
|
 |
|
 |
Hi, I'm using eVC4.0, I got the following error. error C2065: 'LPINLINEIMAGEINFO' : undeclared identifier Thanks!!
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
I've stuck with this proble for a little while.
I'm planing a application program with htmlview libaray, which can provide web search service and entertainments.
First of all, I easily succeed in running on the pocket pc but my goal is not that~! i should run that on the other platform, i.e WinCE 5.00 standard. so, I really want to know the way to run on the other platform generally. is there anyone can help me?
-- modified at 2:16 Wednesday 21st September, 2005
|
| Sign In·View Thread·PermaLink | 1.67/5 (2 votes) |
|
|
|
 |
|
 |
The Class works fine! But how can i use it as a real Dialogsheet? e.g. with edit fields and so... i can place all via html-code, but how can i read the input values???
Thx a lot for any answer!
|
| Sign In·View Thread·PermaLink | 1.00/5 (2 votes) |
|
|
|
 |
|
|
 |
|
 |
I'm using the HTML control without problems to display my own html pages. Works like a charm. However, I want to start IE if the user clicks on a link that starts with "http". I capture the link click and start IE with the href from the link, no problems. When IE starts and loads the page, my original html control in my application has loaded the same page as well! It just happens kinda automagically! Anybody have the same problem? Possible solutions?
Ken
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello,
I don't know how to copy selected text from HtmlView control. Sending WM_COPY to the control doesn't work. Any suggestions are welcome. Thanks.
|
| Sign In·View Thread·PermaLink | 1.50/5 (6 votes) |
|
|
|
 |
|
 |
in evc 4.0, i try to add the winproc section but theres an error :
error C2065: 'LPINLINEIMAGEINFO' : undeclared identifier
i try to add htmlctrl.h and Library: htmlctrl.lib in link section but its not solving the problem.
anybody knows how to fix this ?
Riki Risnandar
|
| Sign In·View Thread·PermaLink | 2.00/5 (7 votes) |
|
|
|
 |
|
 |
Hi,
I use the HTML Control to display HTML, but I see that more I display documents, more memories is used, and never free. Have you a solution?
Thank you
Sophie
|
| Sign In·View Thread·PermaLink | 1.75/5 (3 votes) |
|
|
|
 |
|
 |
Could I send a DTM_NAVIGATE message to the html ctrl window to make it navigate to a certain URL-like "c:\1.htm"?
Waiting for any helpful hint,thx!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Put in the string such "file://c:\\1.htm" Don't forget to set refresh flag if you need refresh.
Don't know much < I, don't care much > I, while I am here ... just be happy 
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I tried out your Html based Dialog & it's really cool! But now I want to use it to navigate to a certain URL,for example:1.htm I referenced the HtmlHost sample in SDK,and I thought the only thing I need to do is to Send a message to the ctrl window(m_htmlWnd)-with a flag DTM_NAVIGATE#^&@# and the URL. Following my train of thought I tested this,but it simply didn't work,could any of my friends here give some hint?Many thanks 
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
I have alot of data I want to display... Tables are perfect for displaying it, but when i use tables it takes aprox. 16 seconds to load!
if I simply display the text (in html) as raw text (not in tables) it takes 3 seconds to load.
Originally I had the data in one massive table and that took about 30 seconds to load... Then i broke it down into a few tables and that cut down on the load time.
The volume of data Im displaying is about 400 lines. I'm using EVC++ 3.0 for development.
can anyone help? I want the loading time to be less than 5 seconds!
Thanks --Ben
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
If I test the sample File on my Windows2003 PPC (compiled with vcc++4) the bitmap is only shown for a very short time an then all I can see is the well known red cross  Any ideas how to handle this Problem?
|
| Sign In·View Thread·PermaLink | 3.00/5 (3 votes) |
|
|
|
 |
|
|
 |
|
 |
I have same problem and when replace the "break;" to "return (LRESULT)1;" the problem is not solved
Dev-nabil
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
thanks for reply this code : i try to use bitmap in resource "IDB_1" by LoadImage
//Global ....
HANDLE img; //=NULL; INLINEIMAGEINFO imgInfo;
case WM_INITDIALOG: img = LoadImage(hInst,MAKEINTRESOURCE(IDB_1),IMAGE_BITMAP,0,0,0); SendMessage(hwndHTML, WM_SETTEXT, 0, (LPARAM)""); SendMessage(hwndHTML, DTM_ADDTEXTW, FALSE,(LPARAM)TEXT("<HTML>")); SendMessage(hwndHTML, DTM_ADDTEXTW, FALSE,(LPARAM)TEXT("<BODY>")); SendMessage(hwndHTML, DTM_ADDTEXTW, FALSE,(LPARAM)TEXT("<font size = 8>Normal
Text<\font>")); SendMessage(hwndHTML, DTM_ADDTEXTW, FALSE,(LPARAM)TEXT("<img src=\"\\1.gif\"
>Image<br>")); return TRUE;
case WM_NOTIFY: { NMHDR * pnmh = (NMHDR *)lParam; switch (pnmh->code) { case NM_HOTSPOT: { OutputDebugString(TEXT("NM_HOTSPOT\r\n")); break; } case NM_INLINE_IMAGE: { NM_HTMLVIEW* pnm = (NM_HTMLVIEW*)lParam; imgInfo.dwCookie = pnm->dwCookie; imgInfo.iOrigHeight = 40; imgInfo.iOrigWidth = 40; imgInfo.hbm = img; imgInfo.bOwnBitmap = FALSE;// SendMessage(hwndHTML, DTM_SETIMAGE, 0,(LPARAM)&imgInfo);
return (LRESULT)1; //return TRUE; //break; } ...
|
| Sign In·View Thread·PermaLink | 3.50/5 (2 votes) |
|
|
|
 |