CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 1999
    Location
    Sweden
    Posts
    15

    Changing apperance in IE from ActiveX Docs

    Does anyone know if it's possible to change the apperance of IE from an ActiveX-document, ie changing titlebar and upperleft icon etc.

    If I add a menu with the menutool it shows up and take over from IE, but the rest?


    Regards
    Patrik


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Changing apperance in IE from ActiveX Docs

    from inside you AXDoc you can manipulate the container by means of the Parent property of your userdocument.
    E.g.
    parent.toolbar = 0
    removes the toolbar.
    (I have tested this unter NT 4 with VB 6 and IE5).

    Be aware though, that a true activeXdoc can also be hosted in an Office Binder.
    IMHO manipulating the container from an AxDoc is not a smart thing to do.



  3. #3
    Join Date
    Sep 1999
    Location
    Sweden
    Posts
    15

    Re: Changing apperance in IE from ActiveX Docs

    Thanks,

    I was there in the neighbourhood, but since VB doesn't auto-complete props and methods for the parent I missed it.

    I take it that it means stay-away, which you also recommended.

    Patrik


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured