Message 1 of 4
Browser Pane Event Handling

Not applicable
11-10-2004
12:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In VC++ -
I have added a custom browser pane and some nodes. The help file says "The BrowserPanesEvents property of the BrowserPanes collection object returns the BrowserPanesEvents object, supporting browser node event notification".
I get the object:
CComPtr pBrowserPanesEventsObj;
hr = spPanes->get_BrowserPanesEvents (&pBrowserPanesEventsObj);
I can't seem to find anything in help or any of the samples on how to hook this up so node events are handled. I have looked at lots of code in the samples, sometimes I see DispEventAdvise and sometimes AfxConnectionAdvise. If anyone has any guidance on this I would appreciate it.
Thanks
I have added a custom browser pane and some nodes. The help file says "The BrowserPanesEvents property of the BrowserPanes collection object returns the BrowserPanesEvents object, supporting browser node event notification".
I get the object:
CComPtr
hr = spPanes->get_BrowserPanesEvents (&pBrowserPanesEventsObj);
I can't seem to find anything in help or any of the samples on how to hook this up so node events are handled. I have looked at lots of code in the samples, sometimes I see DispEventAdvise and sometimes AfxConnectionAdvise. If anyone has any guidance on this I would appreciate it.
Thanks