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.
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