Hello all,

i'm looking on HTMLViews and working around example from Vassili
Philippov
published in codeproject/pocketpcdn -
http://www.codeproject.com/ce/sthtmldialog.asp
i modified example to load images from file as is described in msdn -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k/html/ppc_viewer.asp

but when i tried to display image i didn't see image.
to be precise - image flick only once very fast and then
it's lost.

i compiled this with eVc 3.0 , OS is Windows Mobile 2003

there are some posts from peoples that this work on 2002 but doesent
on 2003
does any know how to solve this?

thanks,

decho

RE: HTMLView and WM2003 by a-nlewis

a-nlewis
Wed Feb 23 12:16:08 CST 2005

------=_NextPart_0001_4A7E1E60
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

In PPC 2003 you need to make sure to return 1 from your NM_INLINE_IMAGE
message handler. If you are working with MFC, you need to make sure the
message handler is setting the "pResult" value to 1, e.g.:

BOOL CSomeClass::OnNotify( WPARAM wParam, LPARAM lParam, LRESULT*
pResult )
{
// ...your code here...

*pResult = 1;
return TRUE;
}


---

Nathan Lewis
Microsoft Mobile and Embedded Devices Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.



--------------------
From: decho@gmx.co.uk (Nedelcho Stanev)
Subject: HTMLView and WM2003
Date: 20 Jun 2004 11:58:11 -0700


Hello all,

i'm looking on HTMLViews and working around example from Vassili
Philippov
published in codeproject/pocketpcdn -
http://www.codeproject.com/ce/sthtmldialog.asp
i modified example to load images from file as is described in msdn -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k/htm
l/ppc_viewer.asp

but when i tried to display image i didn't see image.
to be precise - image flick only once very fast and then
it's lost.

i compiled this with eVc 3.0 , OS is Windows Mobile 2003

there are some posts from peoples that this work on 2002 but doesent
on 2003
does any know how to solve this?

thanks,

decho

------=_NextPart_0001_4A7E1E60
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 In PPC 2003 you need to make sure to return 1 from your NM_INLINE_IMAGE message handler. If you are working with MFC, you need to make sure the message handler is setting the "pResult" value to 1, e.g.:
\par
\par BOOL CSomeClass::OnNotify( WPARAM wParam, LPARAM lParam, LRESULT* pResult )
\par \{
\par // ...your code here...
\par
\par *pResult = 1;
\par return TRUE;
\par \}
\par
\par
\par ---
\par
\par Nathan Lewis
\par Microsoft Mobile and Embedded Devices Developer Support
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par
\par \pard\li720 --------------------
\par From: decho@gmx.co.uk (Nedelcho Stanev)
\par Subject: HTMLView and WM2003
\par Date: 20 Jun 2004 11:58:11 -0700
\par
\par
\par Hello all,
\par
\par i'm looking on HTMLViews and working around example from Vassili
\par Philippov
\par published in codeproject/pocketpcdn -
\par http://www.codeproject.com/ce/sthtmldialog.asp
\par i modified example to load images from file as is described in msdn -
\par http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k/html/ppc_viewer.asp
\par
\par but when i tried to display image i didn't see image.
\par to be precise - image flick only once very fast and then
\par it's lost.
\par
\par i compiled this with eVc 3.0 , OS is Windows Mobile 2003
\par
\par there are some posts from peoples that this work on 2002 but doesent
\par on 2003
\par does any know how to solve this?
\par
\par thanks,
\par
\par decho
\par \pard
\par
\par }
------=_NextPart_0001_4A7E1E60--