移除activex即控件上的边框 [英] Remove border on activex ie control

查看:284
本文介绍了移除activex即控件上的边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于应用程序构建,我使用一个activex ie控件。

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.

我尝试重写invoke调用并将DISPID_BORDERSTYLE设置为零,但看起来它从来没有获得

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

任何想法?

推荐答案

在主机上实现IDocHostUIHandler。那么在GetHostInfo中,您可以返回DOCHOSTUIFLAG_NO3DBORDER或DOCHOSTUIFLAG_NO3DOUTERBORDER标志。

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

这篇关于移除activex即控件上的边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆