The Windows Common Dialogs
Nested Dialogs
Win32 provides a way to "nest" one dialog inside another so that multiple dialogs appear as one seamless whole. You must first create a dialog resource template with a "hole" in it—typically a group box control—with the specific child window ID stc32 (=0x045f) . Your program sets some parameters that tell COMDLG32 to use your template. In addition, your program must hook into the COMDLG32 message loop so that it gets first crack at selected notifications. When you're done with all of this, you'll notice that you have created a dialog window that is a child of the COMDLG32 dialog window, even though your template wraps COMDLG32's template.
This sounds difficult, and it is unless you use MFC. With MFC, you build the dialog resource template as described above, derive a class from one of the common dialog base classes, add the class-specific connection code in OnInitDialog , and then happily use ClassWizard to map the messages that originate from your template's new controls.
Please refer to Programming Microsoft Visual C++ Fifth Edition
再看看这里差不多了。
http://topic.youkuaiyun.com/u/20090601/15/ff762d3e-beef-477b-9184-a088cd42d73f.html
http://hi.baidu.com/%B7%C7%D1%CC%B7%C9%CE%ED/blog/item/1fdfd6ca890c4c44f21fe792.html
Win32嵌套对话框实现
本文介绍如何使用Win32 API实现嵌套对话框,即在一个对话框内嵌入另一个对话框,使之看起来像是单一的整体。文章详细说明了创建嵌套对话框所需步骤,包括设置模板、参数及消息循环的挂钩等,并提到了使用MFC可以简化这一过程。
9293

被折叠的 条评论
为什么被折叠?



