问题
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?
回答1:
I think you need to implement IDocHostUIHandler on your host. then in GetHostInfo you can return the DOCHOSTUIFLAG_NO3DBORDER or DOCHOSTUIFLAG_NO3DOUTERBORDER flag.
来源:https://stackoverflow.com/questions/1087537/remove-border-on-activex-ie-control