Super is just a pointer to the parent class. Not sure what you mean by when "SetMyDoc" is called. Never? I get a pointer to the doc from the callback by attaching to an "ActiveDocChangeEvent" which then calls OnNewDoc with the pointer to the document.