如何删除停靠工具栏之间的空间? [英] How to remove the space between docked toolbars?

查看:71
本文介绍了如何删除停靠工具栏之间的空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当屏幕的缩放设置设置超过100%时,我有工具栏对接问题。我想将工具栏停靠在一起,但当屏幕的缩放设置不是100%时,它们之间会有空格。

 m_wndFiveAxisToolBar.EnableDocking(CBRS_ALIGN_ANY) ); 
m_wndDrillingCyclesToolBar.EnableDocking(CBRS_ALIGN_ANY);

EnableDocking(CBRS_ALIGN_ANY);

DockPane(& m_wndDrillingCyclesToolBar);
DockPaneLeftOf(& m_wndFiveAxisToolBar,& m_wndDrillingCyclesToolBar);

解决方案

您好,


如果您尝试我在其他帖子中写下您的建议,我认为您可以解决所有问题。


例如:
https://social.msdn.microsoft.com/Forums/en- US / de1acff5-2645-4916-aad9-18065f2f38ce /的高度 - 的-toolbarscmfctoolbar-被缩放-当最缩放设定的最屏-IS-设置更多?论坛= vcgeneral


此致,Guido




I have toolbar docking problem when the scaling settings of the screen is set more than 100%. I want to dock the toolbars next to each other, but there is space between them when the scaling settings of the screen is not 100%.

m_wndFiveAxisToolBar.EnableDocking(CBRS_ALIGN_ANY);
m_wndDrillingCyclesToolBar.EnableDocking(CBRS_ALIGN_ANY);

EnableDocking(CBRS_ALIGN_ANY);

DockPane(&m_wndDrillingCyclesToolBar);
DockPaneLeftOf(&m_wndFiveAxisToolBar, &m_wndDrillingCyclesToolBar);

解决方案

Hello,

I think you can get around all your problems if you would try my suggestions I wrote you in your other posts.

E.g.: https://social.msdn.microsoft.com/Forums/en-US/de1acff5-2645-4916-aad9-18065f2f38ce/the-height-of-toolbarscmfctoolbar-is-scaled-when-the-scaling-setting-of-the-screen-is-set-more?forum=vcgeneral

Regards, Guido



这篇关于如何删除停靠工具栏之间的空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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