分离器栏与子窗口的一部分重叠. [英] splitterbar overlaps a part of the child window.

查看:77
本文介绍了分离器栏与子窗口的一部分重叠.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在调试一个mfc应用程序,我有一个拆分器窗口,其中有两个包含CViews的窗格,但是我发现两个子对象都没有正确放置,它们不完全适合拆分器框架,因此拆分器栏与大约占第一视图水平滚动条的10%.我想知道可能是什么问题.

I am debugging a mfc application, I have a splitter window which has two panes, containing CViews,But what i found is both the childs are not positioned properly ,they dont exactly fit in the splitter frame ,so splitter bar overlaps the about 10% of first view''s horizontal scrollbar.I wanted to know what might be the issue.

推荐答案

尝试使用WS_CLIPCHILDREN和WS_CLIPSIBLINGS样式.也尝试对左右窗格窗口使用WS_CHILD样式.
Try playing with WS_CLIPCHILDREN and WS_CLIPSIBLINGS styles. Also try to use WS_CHILD style for left and right pane windows.


这篇关于分离器栏与子窗口的一部分重叠.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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