| 38 | } |
| 39 | |
| 40 | void HtmlDialog::AttachEvents() { |
| 41 | CComPtr<IUnknown> unknown; |
| 42 | this->window_->QueryInterface<IUnknown>(&unknown); |
| 43 | HRESULT hr = this->DispEventAdvise(unknown); |
| 44 | } |
| 45 | |
| 46 | void HtmlDialog::DetachEvents() { |
| 47 | LOG(TRACE) << "Entering HtmlDialog::DetachEvents"; |