如何在 ATL/WTL 中创建拆分器? [英] How to create a splitter in ATL/WTL?

查看:30
本文介绍了如何在 ATL/WTL 中创建拆分器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将我的(可调整大小的)对话框的元素放在两个窗格之一中.
如何使用 WTL 为窗格创建拆分器?

I want to place the elements of my (resizable) dialog in one of two panes.
How do I create a splitter for the panes, using WTL?

我找到了 CSplitterImplCSplitterWindowImpl,但我不知道如何在我的对话框中使用它们.

I found CSplitterImpl and CSplitterWindowImpl, but I can't figure out how to use them with my dialogs.

推荐答案

来自 WTL 的 WTLExplorer 示例应该会让您有所了解,请参阅 SamplesWTLExplorer.如果你想要更多,周围有很多,例如http://www.viksoe.dk/code/splitterbar.htm

WTLExplorer sample from WTL should get you the idea, see SamplesWTLExplorer. If you'd like more, there's a lot around, e.g. http://www.viksoe.dk/code/splitterbar.htm

这篇关于如何在 ATL/WTL 中创建拆分器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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