Today Screen

  • Thread starter Thread starter Wernfried Schwenkner
  • Start date Start date
W

Wernfried Schwenkner

I've read the msdn article how to create a today screen and would try it
out. But I have allready problems in the very beginning. First the
unmanaged dlls are to be build. Therefore I installed eVC. I was able to
compile the TodayScreenDataMgr project, but the
TodayScreenPlugIn_NETCFHost produces compiler errors. Theinclude files
"aygshell.h" and "todaycmn.h" can't be found. I can't find them amoung
the files I've downloaded with the msdn sample.

Can anyone tell me where to get them from?
 
ctacke@spamfree- said:
They're part of the PPC SDK. Are you targeting as Pocket PC in your
project?
Tnx, the PPC SDK didn't setup even when selected during the install. So
I installed it separatly and the files are found.
But now comes onother problem. In

g_hwndHTML = CreateWindow(WC_HTML, _T("HTMLWin"),
WS_CHILD | WS_VISIBLE ,
0 , 0, rc.right-rc.left, rc.bottom-rc.top, hwndParent ,
NULL, g_hInst, NULL);

In "TodayScreenPlugIn_NETCFHost.cpp(148)" the "WC_HTML" is an undeclared
identifier. What value must it be?
 
From htmlctrl.h:
#define DISPLAYCLASS TEXT("DISPLAYCLASS")
#define WC_HTML DISPLAYCLASS
 
Geoff Schwab said:
Hi Wernfried,

Those headers should be in the Pocket PC SDK. Search for them in your
Windows CE Tools directory. If you do not have them then try downloading
the SDK's from:

http://www.microsoft.com/windowsmobile/resources/downloads/developer/default.mspx

--
Geoff Schwab
Program Manager
Excell Data Corporation
http://msdn.com/mobility
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.aspx

This posting is provided "AS IS" with no warranties, and confers no rights.
 
"Creating a Pocket PC Today Screen Plug-in with the .NET Compact Framework"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/TodayScrn.asp

--
Tim Wilson
..Net Compact Framework MVP
{cf147fdf-893d-4a88-b258-22f68a3dbc6a}

Liren Zhao said:
Geoff Schwab said:
Hi Wernfried,

Those headers should be in the Pocket PC SDK. Search for them in your
Windows CE Tools directory. If you do not have them then try downloading
the SDK's from:
http://www.microsoft.com/windowsmobile/resources/downloads/developer/default.mspx
--
Geoff Schwab
Program Manager
Excell Data Corporation
http://msdn.com/mobility
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.aspx
 
Back
Top