From: mosfet on
Hi,

My question is related to wince development but since it's more a MFC
question I allow myselft to post here.

I saw that MS released a CHtmlView class with their WCE400 SDK but now
they don't seem to officially support it.
So I took the source code and compiled it with VS2005 for WM5 plateform.
Compilation is ok but when I try a sample app I get the following
warning followed by an assert :

Warning: Resource items and Win32 Z-order lists are out of sync. Tab
order may be not defined well.

BOOL COleControlContainer::FillListSitesOrWnds(_AFX_OCC_DIALOG_INFO*
pOccDlgInfo)
{
...
COleControlSiteOrWnd *pTemp =
new COleControlSiteOrWnd(
hwndCtrl,
pOccDlgInfo->m_pItemInfo[i].bAutoRadioButton);
ASSERT(IsWindow(pTemp->m_hWnd));

....
}

Do you have any idea why I get this error ?