jken
08-12-2003, 07:11 AM
I'm trying to use the HTMLViewer to display a set of checkboxes that all start out in the unchecked state. When the user is done with the screen, I want to see which boxes they checked. Unfortunately, I can't seem to get this working (they all come back as still being unchecked):
ret = IHTMLVIEWER_FindElem(pMe->m_pIHTMLViewer, "input", i);
IHTMLVIEWER_GetAttrValue(pMe->m_pIHTMLViewer, ret, "checked", buf, sizeof(buf));
The value is always empty. Clearly there has to be a way to inspect the values stored in a form when the user is done with it, but I haven't found a way that works. Anyone use the HTMLViewer this way?
Thanks.
ret = IHTMLVIEWER_FindElem(pMe->m_pIHTMLViewer, "input", i);
IHTMLVIEWER_GetAttrValue(pMe->m_pIHTMLViewer, ret, "checked", buf, sizeof(buf));
The value is always empty. Clearly there has to be a way to inspect the values stored in a form when the user is done with it, but I haven't found a way that works. Anyone use the HTMLViewer this way?
Thanks.