From: phil on
Hi

I'm justing to use the CDHTMLDialog with the following code


IHTMLElement* pLinkElement = NULL;

if (GetElement(_T("ctl00_ContentPlaceHolder1_tb1"), &pLinkElement) == S_OK
&& pLinkElement != NULL)
{
BSTR current;

pLinkElement->get_innerText(&current);

pLinkElement->get_id(&current);

CString tt=_T("Hello from Callidus DHTML");

BSTR bstr=tt.AllocSysString();

pLinkElement->put_innerText(bstr);




pLinkElement->Release(); // Thanks Heath

}