MFC中各种类的Create方法的风格有哪些?

来源:百度知道 编辑:UC知道 时间:2024/06/05 16:54:49
经常看到MFC中的很多的Create方法中有一个制定风格的参数,如CEdit,CButton等,这些类的Create方法中的风格有哪些??
暂时不要跟我说程序向导,类向导这些就是"使用MFC做为静态链接库(动态链接库)"这些...

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 C