0

I call CDhtmlDialog::GetDHtmlDocument() in CDhtmlDialog.OnInitDialog(), but I found the return values is NULL.

However if I put GetDHtmlDocument() in a button clicking handler, the returned IHtmlDocument is valid. So I think maybe the DOM is not loaded when I call CDhtmlDialog::GetDHtmlDocument()?

Any suggestion is appreciated

AndroidLearner
  • 4,500
  • 4
  • 31
  • 62
Mark Ma
  • 1,342
  • 3
  • 19
  • 35

0 Answers0