Images are not staying on the control . Any body knows how to display images on HTML Control in PPC 2003
Mobile
1
Posts
1
Posters
0
Views
1
Watching
-
Hello All, Any body knows how to display imsges on HTML control in Pocket PC 2003. Images are not staying on the control after the iamges are registered and loaded on the HTML Control. Following code is not working in PPC 2003. INLINEIMAGEINFO imageInfo; imageInfo.dwCookie = dwCookieValue; imageInfo.bOwnBitmap = FALSE; imageInfo.hbm = (HBITMAP)(*pBitmap); CSize size = pBitmap->GetBitmapDimension(); imageInfo.iOrigWidth = size.cx; imageInfo.iOrigHeight = size.cy; //::SendMessage(m_hwndHtml, DTM_SETIMAGE, 0, (LPARAM)(LPINLINEIMAGEINFO)&imageInfo); ::SendMessage(m_hwndHtml, DTM_SETIMAGE, 0, (LPARAM)&imageInfo); Please do let me know the reason why it is not staying in PPC 2003. regards, siva