Saturday, February 5, 2011

Remove border on activex ie control

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?

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

    ~jewels

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

0 comments:

Post a Comment