Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

i need some help...
i made an application to show some webpages (html) with many images on it, but the problem is, not all the images can show up...
i took the codes from netdiagnostics example code for showing the html pages...
can anyone help me to show all the images without limitation??
thank you very much...

Have you tried setting the extent to all the child widgets (Specially Image Widget)you may be using in the container?

Have you tried setting the extent to all the child widgets (Specially Image Widget)you may be using in the container?

i could't find anything to set for it...
i just took this widget from the example...
void DisplayPage(benkyo* pMe, const char *pURL)
{
IFile *pf;
const char *pFileName = pURL;
if(STRBEGINS("file:",pFileName))
pFileName += STRLEN("file:");
if(STRBEGINS("///",pFileName))
pFileName += STRLEN("///");
pf = IFILEMGR_OpenFile(pMe->pFileMgr, pFileName, _OFM_READ);
if(pf) {
IHTMLVIEWER_LoadStream(pMe->pIHtml, (IAStream*)pf);
IFILE_Release(pf);
} else {
IHTMLVIEWER_SetData(pMe->pIHtml, "ErrorFile Not Found", -1);
}

i could't find anything to set for it...
i just took this widget from the example...
void DisplayPage(benkyo* pMe, const char *pURL)
{
IFile *pf;
const char *pFileName = pURL;
if(STRBEGINS("file:",pFileName))
pFileName += STRLEN("file:");
if(STRBEGINS("///",pFileName))
pFileName += STRLEN("///");
pf = IFILEMGR_OpenFile(pMe->pFileMgr, pFileName, _OFM_READ);
if(pf) {
IHTMLVIEWER_LoadStream(pMe->pIHtml, (IAStream*)pf);
IFILE_Release(pf);
} else {
IHTMLVIEWER_SetData(pMe->pIHtml, "ErrorFile Not Found", -1);
}

can anyone help me with this??
thank you

can anyone help me with this??
thank you

You can process each "not shown img formats" manually for draw it on screen.

You can process each "not shown img formats" manually for draw it on screen.

Prog wrote:You can process each "not shown img formats" manually for draw it on screen.
umm...sorry I don't really understand...could you please show me how to do it??
thank you very much...

Prog wrote:You can process each "not shown img formats" manually for draw it on screen.
umm...sorry I don't really understand...could you please show me how to do it??
thank you very much...

May be its a crazy idea, but you can decode each "not supported images" manually and then draw on screen.
What image formats not showed?

May be its a crazy idea, but you can decode each "not supported images" manually and then draw on screen.
What image formats not showed?

it's not that the images are not supported but looks like that there's some limit to it so it won't appear after certain number of images...
they are bitmaps...

it's not that the images are not supported but looks like that there's some limit to it so it won't appear after certain number of images...
they are bitmaps...