How to create a splitter in ATL/WTL?

匿名 (未验证) 提交于 2019-12-03 10:09:14

问题:

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?

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

回答1:

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



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!