How to create a splitter in ATL/WTL?

青春壹個敷衍的年華 提交于 2019-12-12 09:59: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



来源:https://stackoverflow.com/questions/7324153/how-to-create-a-splitter-in-atl-wtl

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