一个很基础的有关问题,来帮帮忙啊创建窗口的

一个很基础的问题,来帮帮忙啊~创建窗口的
我用MFC生成了一个最简单的基于对话框的程序,上面一个按钮,我想点击按钮生成一个对话框,不要DoModal那种方式,使用CreateWindwo的方式,怎么搞?? 最好有现成代码~~谢谢了!

------解决方案--------------------
在对话框的属性里面把Border设置成none就是没边框的了
------解决方案--------------------
不是的,你点击对话框右键,然后属性-Border-设置成None
------解决方案--------------------
WS_BORDER   Creates a window that has a border.

WS_CAPTION   Creates a window that has a title bar (implies the WS_BORDER style). Cannot be used with the WS_DLGFRAME style.

WS_CHILD   Creates a child window. Cannot be used with the WS_POPUP style.

WS_CHILDWINDOW   Same as the WS_CHILD style. 

WS_CLIPCHILDREN   Excludes the area occupied by child windows when you draw within the parent window. Used when you create the parent window.

WS_CLIPSIBLINGS   Clips child windows relative to each other; that is, when a particular child window receives a paint message, the WS_CLIPSIBLINGS style clips all other overlapped child windows out of the region of the child window to be updated. (If WS_CLIPSIBLINGS is not given and child windows overlap, when you draw within the client area of a child window, it is possible to draw within the client area of a neighboring child window.) For use with the WS_CHILD style only.

WS_DISABLED   Creates a window that is initially disabled.

WS_DLGFRAME   Creates a window with a double border but no title.

WS_GROUP   Specifies the first control of a group of controls in which the user can move from one control to the next with the arrow keys. All controls defined with the WS_GROUP style FALSE after the first control belong to the same group. The next control with the WS_GROUP style starts the next group (that is, one group ends where the next begins).