本文介绍了工具栏应位于IE中所有工具栏的底部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个工具栏,并添加了代码以新行显示该工具栏,并且它工作正常.

现在,当我更改工具栏的位置时,它可以正常工作

但是,当我卸载工具栏然后重新安装时,它不会出现在新行中.它显示在上一个位置本身中.我觉得IE记得工具栏的最后一个位置,并显示在该位置.

对于我来说,每次我安装该应用程序时,都需要将我的工具栏放在所有现有工具栏末尾的新行中.用户可以从那里将其更改为自己喜欢的任何位置.但是,我应该第一次在新行中看到它.

请帮助我.如果不清楚,请通知我.

代码

如果(((dbi.dwMask& DBIM.MODEFLAGS)!= 0)

如果(((dbi.dwMask& DBIM.BKCOLOR)!= 0) .BREAK;


感谢
Janakiraman

解决方案


Hi

I have created a toolbar and I have added the code to show the toolbar in a new line and it is working fine.

Now when I change the position of the toolbar it works fine

But then when I uninstall the toolbar and then reinstall it, it doesn't show up in a new line. It shows up in the previous location itself. I feel IE remembers the last position of the toolbar and shows it up in that position.

For me each time I install the application I need to bring my toolbar in a new line at the end of all the toolbars that I have. And from there user can change it to anywhere he prefers. But for the first time I should see it up in a new line.

Please help me on that. Please let me know if I am not clear.

Code

            if ((dbi.dwMask & DBIM.MODEFLAGS) != 0)
            {
                dbi.dwModeFlags = DBIMF.ALWAYSGRIPPER;
            }

            if ((dbi.dwMask & DBIM.BKCOLOR) != 0)
            {
                dbi.dwMask = dbi.dwMask ^ DBIM.BKCOLOR;
            }
            dbi.dwModeFlags = DBIMF.BREAK;


Thanks
Janakiraman

解决方案


这篇关于工具栏应位于IE中所有工具栏的底部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 02:41