image in IHTMLVIEWER | developer.brewmp.com image in IHTMLVIEWER | developer.brewmp.com

Developer

image in IHTMLVIEWER

Forums:

hi,
can anyone tell me what is wrong with my code?

IHTMLVIEWER_SetData (pApp->m_pIHTMLViewer,"test img",-1);
IHTMLVIEWER_Redraw( pApp->m_pIHTMLViewer );
IDISPLAY_Update(pApp->m_pIDisplay);

the image does not display. only the text: "test img"

razvanica wrote:hi,
can anyone tell me what is wrong with my code?
IHTMLVIEWER_SetData (pApp->m_pIHTMLViewer,"test img",-1);
My first thought is you shouldn't be using single-quotes around the file name. Try changing the data to ,"test img"
-Erik

razvanica wrote:hi,
can anyone tell me what is wrong with my code?
IHTMLVIEWER_SetData (pApp->m_pIHTMLViewer,"test img",-1);
My first thought is you shouldn't be using single-quotes around the file name. Try changing the data to ,"test img"
-Erik

thank you for your reply, i tried that but still didn't work.

thank you for your reply, i tried that but still didn't work.