MFC 窗体的样式
来源:互联网 发布:python 简明教程 编辑:程序博客网 时间:2024/06/06 17:51
WS_BORDER Creates a window that has aborder.WS_BORDER创建一个窗口,有一个边框。
WS_CAPTION Creates a window that has atitle bar (implies theWS_BORDER style).WS_CAPTION创建一个具有标题栏的窗口(隐含WS_BORDER风格)。Cannot be used with theWS_DLGFRAMEstyle.不能使用的WS_DLGFRAME风格。
WS_CHILD Creates a child window.WS_CHILD创建一个子窗口。Cannotbe used with the WS_POPUPstyle.不能使用WS_POPUP风格。
WS_CHILDWINDOW Same as theWS_CHILDstyle.为WS_CHILD风格WS_CHILDWINDOW相同。
WS_CLIPCHILDREN Excludes the area occupiedby child windows when you draw within the parent window.WS_CLIPCHILDREN不包括绘制在父窗口的子窗口,当你占用的面积。Used when you create the parentwindow.当您创建的父窗口。
WS_CLIPSIBLINGS Clips child windowsrelative to each other; that is, when a particular child windowreceives a paint message, theWS_CLIPSIBLINGS style clipsall other overlapped child windows out of the region of the childwindow to be updated.WS_CLIPSIBLINGS剪辑子窗口彼此相对的是,当一个特定的子窗口接收油漆消息,WS_CLIPSIBLINGS风格的剪辑重叠了该地区的子窗口的子窗口被更新。(IfWS_CLIPSIBLINGS is not given and childwindows overlap, when you draw within the client area of a childwindow, it is possible to draw within the client area of aneighboring child window.) For use with theWS_CHILD styleonly.(如果WS_CLIPSIBLINGS窗口和子窗口重叠,当你画的一个子窗口的客户区,它是可以在邻近的子窗口的客户区绘制)。使用WS_CHILD风格。
WS_DISABLED Creates a window that isinitially disabled.WS_DISABLED创建一个窗口最初是被禁用的。
WS_DLGFRAME Creates a window with a doubleborder but no title.WS_DLGFRAME创建一个窗口,双边框,但没有标题。
WS_GROUP Specifies the first control of agroup of controls in which the user can move from one control tothe next with the arrow keys.WS_GROUP指定一组控件中,用户可以从一个控件移动到下箭头键控制。All controls defined with the WS_GROUPstyle FALSE after the first control belong to the samegroup.后,第一控制与WS_GROUP风格FALSE定义的所有控件属于同一组。The next control with the WS_GROUP stylestarts the next group (that is, one group ends where the nextbegins).WS_GROUP风格的下一个控制开始下一组(即,一组结束的下一个开始)。
WS_HSCROLL Creates a window that has ahorizontal scroll bar.WS_HSCROLL创建一个具有水平滚动条的窗口。
WS_ICONIC Creates a window that isinitially minimized.WS_ICONIC创建,最初是最小化的窗口。Same as theWS_MINIMIZEstyle.相同风格的WS_MINIMIZE等 。
WS_MAXIMIZE Creates a window of maximumsize.WS_MAXIMIZE创建一个窗口的最大尺寸。
WS_MAXIMIZEBOX Creates a window that has aMaximize button.WS_MAXIMIZEBOX创建一个窗口,有一个“最大化”按钮。
WS_MINIMIZE Creates a window that isinitially minimized.WS_MINIMIZE创建一个窗口最初是最小化的。For use with theWS_OVERLAPPED styleonly.对于使用只与WS_OVERLAPPED风格。
WS_MINIMIZEBOX Creates a window that has aMinimize button.WS_MINIMIZEBOX创建一个窗口,有一个“最小化”按钮。
WS_OVERLAPPED Creates an overlappedwindow.WS_OVERLAPPED创建一个重叠的窗口。An overlapped window usually has a caption and aborder.的重叠窗口通常有一个标题和边框。
WS_OVERLAPPEDWINDOW Creates an overlappedwindow with theWS_OVERLAPPED , WS_CAPTION ,WS_SYSMENU ,WS_THICKFRAME , WS_MINIMIZEBOX ,and WS_MAXIMIZEBOX styles.WS_OVERLAPPEDWINDOW创建一个重叠的窗口WS_OVERLAPPED,WS_CAPTION,WS_SYSMENU,WS_THICKFRAME,WS_MINIMIZEBOX,WS_MAXIMIZEBOX风格。
WS_POPUP Creates a pop-up window.WS_POPUP创建一个弹出式窗口。Cannotbe used with the WS_CHILDstyle.不能使用WS_CHILD风格。
WS_POPUPWINDOW Creates a pop-up windowwith theWS_BORDER , WS_POPUP , and WS_SYSMENUstyles.WS_POPUPWINDOW创建一个弹出式窗口的WS_BORDER,WS_POPUP,和WS_SYSMENU风格。TheWS_CAPTION style must be combined withthe WS_POPUPWINDOW style to make the Control menuvisible.WS_CAPTION风格的WS_POPUPWINDOW风格,使控制菜单可见,必须结合。
WS_SIZEBOX Creates a window that has asizing border.WS_SIZEBOX创建一个窗口,有一个可调整边框。Same as theWS_THICKFRAMEstyle.同WS_THICKFRAME风格。
WS_SYSMENU Creates a window that has aControl-menu box in its title bar.WS_SYSMENU创建一个窗口,在其标题栏中,有一个控制菜单框。Usedonly for windows with title bars.仅用于带有标题栏的窗口。
WS_TABSTOP Specifies one of any number ofcontrols through which the user can move by using the TABkey.WS_TABSTOP指定一个任意数量的控制,通过它,用户可以使用TAB键移动。The TAB key moves the user to the next controlspecified by theWS_TABSTOP style.TAB键移动到下一个控件指定的WS_TABSTOP风格的用户。
WS_THICKFRAME Creates a window with athick frame that can be used to size the window.WS_THICKFRAME创建一个窗口,用厚的,可用于窗口的大小的帧。
WS_TILED Creates an overlappedwindow.WS_TILED创建一个重叠的窗口。 Anoverlapped window has a title bar and aborder.一个重叠的窗口的标题栏和边框。Same asthe WS_OVERLAPPEDstyle.同WS_OVERLAPPED作风。
WS_TILEDWINDOW Creates an overlappedwindow with theWS_OVERLAPPED , WS_CAPTION ,WS_SYSMENU ,WS_THICKFRAME , WS_MINIMIZEBOX ,and WS_MAXIMIZEBOX styles.WS_TILEDWINDOW创建一个重叠的窗口WS_OVERLAPPED,WS_CAPTION,WS_SYSMENU,WS_THICKFRAME,WS_MINIMIZEBOX,WS_MAXIMIZEBOX风格。Same as the WS_OVERLAPPEDWINDOWstyle.相同的WS_OVERLAPPEDWINDOW风格。
WS_VISIBLE Creates a window that isinitially visible.WS_VISIBLE创建一个窗口最初是可见的。
WS_VSCROLL Creates a window that has avertical scroll bar.WS_VSCROLL创建一个具有垂直滚动条的窗口。
- MFC 窗体的样式
- MFC窗体的扩展样式和其值
- MFC单文档视图中修改窗体标题、窗体样式
- MFC 窗体的调用
- 制作任务栏样式的窗体
- 窗体样式的一些问题
- 窗体的扩展样式GWL_EXSTYLE:
- 关于MFC窗体样式随系统主题变化
- MFC中窗体的控制
- MFC中窗体的控制
- MFC 椭圆窗体的实现
- 在winfrom窗体中使用漂亮的窗体样式。
- 窗体的扩展样式GWL_EXSTYLE: 用于SetWindowLong
- 窗体的扩展样式和其值
- 窗体的扩展样式和其值
- 一个自定义的窗体样式MessageBox控件
- 窗体的扩展样式和其值
- 窗体的扩展样式和其值
- c++ 应对内存不足 申请失败 的情况【2013.12.02】
- 消息机制的建立 MFC
- iOS应用程序生命周期(前后台切换,应用的各种状态)详解
- sed
- MFC 禁止主窗口的移动
- MFC 窗体的样式
- enum关键字的使用技巧--C、MFC、、
- enum的本质
- goagent
- error LNK2005: "enum TWindowAttr TWINDOWATTR" (?TWINDOWATTR@@
- error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默
- enum 使用技巧MFC可以定义在类中、结构体中
- new 使用
- 指针静态和动态转化的时候注意的是否检查指针类型