Remove border on activex ie control

爷,独闯天下 提交于 2019-12-11 16:28:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!