with GNATCOM.Dispinterface;

package MSHTML.IHTMLPopup_Interface is

   type IHTMLPopup_Type is
     new GNATCOM.Dispinterface.Dispinterface_Type with null record;

   procedure Initialize (This : in out IHTMLPopup_Type);

   function Pointer (This : IHTMLPopup_Type)
     return Pointer_To_IHTMLPopup;

   procedure Attach (This    : in out IHTMLPopup_Type;
                     Pointer : in     Pointer_To_IHTMLPopup);

   procedure Show
     (This     : IHTMLPopup_Type;
      x        : Interfaces.C.long;
      y        : Interfaces.C.long;
      w        : Interfaces.C.long;
      h        : Interfaces.C.long;
      pElement : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING);

   procedure Hide
     (This : IHTMLPopup_Type);

   function Get_document
     (This : IHTMLPopup_Type)
     return Pointer_To_IHTMLDocument;

   function Get_isOpen
     (This : IHTMLPopup_Type)
     return GNATCOM.Types.VARIANT_BOOL;

end MSHTML.IHTMLPopup_Interface;

