Use EndDialog(TRUE) when timeout
123ivan123
Posts
-
How to destroy a dialog after timeout -
Another BUG of IE6.0 @_@?When variable i increase to some value(not always definite),exception occurs,is it another bug of ie6.0? Thx a not! Source code goes as follows: IHTMLDocument2* pDoc2=NULL; IHTMLElementCollection* ppCollection=NULL; IDispatch* ppvdispOption=NULL; pView->GetDHtmlDocument2(&pDoc2);//pView--a pointer to CHTMLEditView,already asigned with enougth memory Assert(pDoc2); pDoc2->get_all(&ppCollection); Assert(ppCollection); ppCollection->get_length(&Count); for (long i=0;i { _variant_t index ; index=i; try { ppCollection->item(index,index,&ppvdispOption); } catch (...) { tagstr.Format("%d",i); AfxMessageBox(tagstr); return FALSE; } if(!ppvdispOption) continue; ppvdispOption->QueryInterface(IID_IHTMLElement,(void **) &pElement); ppvdispOption->Release(); //......... }
-
Help! Exception in gaining element in HTMLDocument2 documentwhen variable i increase to some value(not definite),exception occurs,is it a bug of ie6.0? Thx a not! Source code goes as follows: IHTMLDocument2* pDoc2=NULL; IHTMLElementCollection* ppCollection=NULL; IDispatch* ppvdispOption=NULL; pDoc2->get_all(&ppCollection); Assert(ppCollection); ppCollection->get_length(&Count); for (long i=0;iitem(index,index,&ppvdispOption); } catch (...) { tagstr.Format("%d",i); AfxMessageBox(tagstr); return FALSE; } if(!ppvdispOption) continue; ppvdispOption->QueryInterface(IID_IHTMLElement,(void **) &pElement); ppvdispOption->Release(); //......... }
-
How to ignore the style of colspan of tablecells?Push up the problem for help by myself,thx a lot^_^
-
How to ignore the style of colspan of tablecells?How to ignore the style of colspan of tablecells,using the interface of IHTMLTableCell?Does it need any custom namespace? Thank you very much!