on IObjectWithSite, IOleObject and ActiveX controls- March 28, 2006 ActiveX controls frequently need to communicate with their containing object. For example, a control may want to QueryService for the cached InternetSecurityManager object to decide whether or not to take a particular action. Controls can obtain a pointer to their containing object (also called the object's site) in one of at least two ways. The typical scenario is Internet Explorer hosts the ActiveX control inside of an object implemented in mshtml.dll. Controls that...http://blogs.msdn.com/jeffdav/archive/2006/03/28/563210.aspx |