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

查看:158
本文介绍了如何在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?

我发现 CSplitterImpl 和 CSplitterWindowImpl ,但是我不知道如何使用它们我的对话框。

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

推荐答案

WTL中的WTLExplorer示例应该可以让你了解,看看\Samples\WTLExplorer。如果你想要更多,那就有很多事情,例如 http://www.viksoe.dk/code/splitterbar.htm

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

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

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