PRB: Visual Basic ActiveX Container Controls Do Not Act as Containers in Some Environments (244200)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 4.0
  • Microsoft Internet Explorer (Programming) 4.01
  • Microsoft Internet Explorer (Programming) 4.01 SP1
  • Microsoft Internet Explorer (Programming) 4.01 SP2
  • Microsoft Internet Explorer (Programming) 5
  • Microsoft Visual InterDev 6.0
  • Microsoft FrontPage 2000

This article was previously published under Q244200

SYMPTOMS

When a Visual Basic UserControl object has the Container property set to true, that control is supposed to act as a container for other controls.

However, when used in one of the products listed at the beginning of this article, a compiled container control is unable to contain other controls.

CAUSE

For ActiveX controls created with Visual Basic to support containment, their container must implement the ISimpleFrameSite interface. The products listed at the beginning of this article do not implement this interface.

STATUS

This behavior is by design.

REFERENCES

For more information on Visual Basic container controls, see Allowing Developers to Put Controls on Your Control on the Microsoft Developer Network (MSDN).

For more information on the ISimpleFrameSite interface, see it's entry in in the Platform SDK references on MSDN.

Modification Type:MajorLast Reviewed:7/20/2001
Keywords:kbDSupport kbprb KB244200