关闭

MFC 窗体的样式

547人阅读 评论(0) 收藏 举报
分类:
  • WS_BORDER Creates a window that has aborder. WS_BORDER创建一个窗口,有一个边框。

  • WS_CAPTION Creates a window that has atitle bar (implies the WS_BORDER style).WS_CAPTION创建一个具有标题栏的窗口(隐含WS_BORDER风格)。Cannot be used with the WS_DLGFRAMEstyle.不能使用的WS_DLGFRAME风格。

  • WS_CHILD Creates a child window.WS_CHILD创建一个子窗口。 Cannotbe used with the WS_POPUPstyle.不能使用WS_POPUP风格。

  • WS_CHILDWINDOW Same as the WS_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, the WS_CLIPSIBLINGS style clipsall other overlapped child windows out of the region of the childwindow to be updated.WS_CLIPSIBLINGS剪辑子窗口彼此相对的是,当一个特定的子窗口接收油漆消息,WS_CLIPSIBLINGS风格的剪辑重叠了该地区的子窗口的子窗口被更新。(If WS_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 the WS_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 the WS_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 the WS_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 the WS_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 the WS_BORDER , WS_POPUP , and WS_SYSMENUstyles.WS_POPUPWINDOW创建一个弹出式窗口的WS_BORDER,WS_POPUP,WS_SYSMENU风格。The WS_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 the WS_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 the WS_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 the WS_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创建一个具有垂直滚动条的窗口。

0
0

猜你在找
【直播】机器学习&数据挖掘7周实训--韦玮
【套餐】系统集成项目管理工程师顺利通关--徐朋
【直播】3小时掌握Docker最佳实战-徐西宁
【套餐】机器学习系列套餐(算法+实战)--唐宇迪
【直播】计算机视觉原理及实战--屈教授
【套餐】微信订阅号+服务号Java版 v2.0--翟东平
【直播】机器学习之矩阵--黄博士
【套餐】微信订阅号+服务号Java版 v2.0--翟东平
【直播】机器学习之凸优化--马博士
【套餐】Javascript 设计模式实战--曾亮
查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:973170次
    • 积分:17569
    • 等级:
    • 排名:第541名
    • 原创:741篇
    • 转载:522篇
    • 译文:0篇
    • 评论:105条
    最新评论