因为分隔条都是用id号为分隔的参数!
但是对话框我创建的时候就没有id号这一说!
请大家帮忙!

解决方案 »

  1.   

    http://www.codeguru.com/splitter/simple_splitter.shtml
    General Purpose Splitter ClassThis article was contributed by Yurong Lin.
    I have seen many programmers asking how to create a splitter window in a dialog box. Unfortunately MFC does not provide a splitter control that can be directly embedded into a dialog box. CSplitterWnd is somehow designed to be used only inside a frame window. I have also seen a few attempts, but none is generic and easy to use.The class I am presenting is designed for general purpose. The name is CSplitterBar, the function is to provide a splitter bar that can be embedded into any kind of windows, such as a frame, a view or a dialog box. 
    ...