Click to See Complete Forum and Search --> : Changing apperance in IE from ActiveX Docs


pafal
October 20th, 1999, 03:36 AM
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

Lothar Haensler
October 20th, 1999, 04:08 AM
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.

pafal
October 21st, 1999, 05:13 AM
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