Search code examples
dialogatlwtlsplitter

How to create a splitter in ATL/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?

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


Solution

  • 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