views:

187

answers:

1

For the application im building, i use an activex ie control. It works greate but i cant work out how to remove the border around it.

I have tried overriding the invoke call and setting DISPID_BORDERSTYLE to zero but it looks like it never gets hit.

Any ideas?

+4  A: 

i think you need to implement IDocHostUIHandler on your host. then in GetHostInfo you can return the DOCHOSTUIFLAG_NO3DBORDER or DOCHOSTUIFLAG_NO3DOUTERBORDER flag.

~jewels

Jewel S
thanks, with that tip it pointed me to this: http://msdn.microsoft.com/en-us/library/aa770041%28VS.85%29.aspx
Lodle