WS_窗口风格常量
WS_BODER    窗口具有细线边框

WS_CAPTION   窗口具有标题栏(包含 WS_BODER)

WS_CHILD    创建一个子窗口(此风格不能与 WS_POPUP 一起使用 )

WS_CHILDWINDOW 与 WS_CHILD 相同

WS_CLIPHILDREN 当在父窗口中画图时,绕开子窗口占有的区域。

WS_CLIPSBLINGS 裁剪相互关联的子窗口,使一个特殊 的子窗口收到 WS_PAINT 消息时,仅对自身窗口起作用。此式样仅适合具有 WS_CHILD 风格的窗口。

WS_DISABLED 创建一个开始时禁止的窗口

WS_DLGFRAME 创建一个具有某种式样的边框的窗口,该式样一般与对话框一起使用,具有该式样的窗口不能有一个标题栏。

WS_GROUP 指定一组控制中的第一个控制,具有该式样控制的下一个控制终止当前控制组,并且开始下一个控制组。

WS_HSCROLL 窗口具有水平滚动条

WS_VSCROOL 窗口具有垂直滚动条

WS_MAXIMIZE 窗口初始时最大化

WS_MINIMIZE 窗口初始时最小化

WS_MINIMIZEBOX 窗口具有最小化按钮

WS_MAXIMIZEBOX 窗口具有最大化按钮

WS_OVERLAPPED 重叠 式窗口,该式样窗口 带有一个标题栏和边框

WS_OVERLAPPEDWINDOW 具有WS_OVERLAPPED,WS_CAPTION,WS_SYSMENU,WS_THICKFRAM, WS_MINIMIZEBOX,WS_MAXIMIZEBOX 式样的重叠式窗口

WS_POPUP 弹出式窗口,不能与 WS_CHILD 一起使用

WS_POPUPWINDOW 具有 WS_BODER,WS_POPUP,WS_SYSMENU 式样的弹出式窗口。为了使 SYSTEM 菜单(也叫 CONTROL 菜单可见),必须将 WS_CAPTION与 WS_POPUPWINDOW 式样组合使用。

WS_SYSMENU 具有 SYSTEM 菜单栏,还必须指定 WS_CAPTION 式样

WS_THICKFRAME 具有可调边框

WS_VISIBLE 窗口初始时可见

扩展窗

口风格

常量

WS_EX_ACCEPTFILES 窗口可接收拖放文件

WS_EX_DLGMODALFRAME 具有双线边框

WS_EX_NOPARENTNOTIFY 当一个子窗口创建或取消时,不向其父窗口发送WM_PARENTNOTIFY 消息

WS_EX_TOPMOST 窗口放在所有非顶层窗口之上,即使窗口不工作。

支持 3D 外观的扩展风格

WS_EX_CLIENTEDGE 为应用程序的主工作空间创建一个下陷的客户区,例如一个字处理程序的文本窗口

WS_EX_STATICEDGE 为只用于输出的窗口创建下陷的客户区。

FROM MSDN:

  • 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).

  • WS_HSCROLL
       Creates a window that has a horizontal scroll bar.

  • WS_ICONIC
       Creates a window that is initially minimized. Same as the WS_MINIMIZE
    style.

  • WS_MAXIMIZE
       Creates a window of maximum size.

  • WS_MAXIMIZEBOX
       Creates a window that has a Maximize button.

  • WS_MINIMIZE
       Creates a window that is initially minimized. For use with the WS_OVERLAPPED
    style only.

  • WS_MINIMIZEBOX
       Creates a window that has a Minimize button.

  • WS_OVERLAPPED
       Creates an overlapped window. An overlapped window usually has a caption and a border.

  • WS_OVERLAPPEDWINDOW
       Creates an overlapped window with the WS_OVERLAPPED
    , WS_CAPTION
    , WS_SYSMENU
    , WS_THICKFRAME
    , WS_MINIMIZEBOX
    , and WS_MAXIMIZEBOX
    styles.

  • WS_POPUP
       Creates a pop-up window. Cannot be used with the WS_CHILD
    style.

  • WS_POPUPWINDOW
       Creates a pop-up window with the WS_BORDER
    , WS_POPUP
    , and WS_SYSMENU
    styles. The WS_CAPTION
    style must be combined with the WS_POPUPWINDOW
    style to make the Control menu visible.

  • WS_SIZEBOX
       Creates a window that has a sizing border. Same as the WS_THICKFRAME
    style.

  • WS_SYSMENU
       Creates a window that has a Control-menu box in its title bar. Used only for windows with title bars.

  • WS_TABSTOP
       Specifies one of any number of
    controls through which the user can move by using the TAB key. The TAB
    key moves the user to the next control specified by the WS_TABSTOP
    style.

  • WS_THICKFRAME
       Creates a window with a thick frame that can be used to size the window.

  • WS_TILED
       Creates an overlapped window. An overlapped window has a title bar and a border. Same as the WS_OVERLAPPED
    style.

  • WS_TILEDWINDOW
       Creates an overlapped window with the WS_OVERLAPPED
    , WS_CAPTION
    , WS_SYSMENU
    , WS_THICKFRAME
    , WS_MINIMIZEBOX
    , and WS_MAXIMIZEBOX
    styles. Same as the WS_OVERLAPPEDWINDOW
    style.

  • WS_VISIBLE
       Creates a window that is initially visible.

  • WS_VSCROLL
       Creates a window that has a vertical scroll bar.

 
4646
5463
 
 
 
G
M
T
 
Detect language
Afrikaans
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bengali
Bosnian
Bulgarian
Catalan
Cebuano
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Filipino
Finnish
French
Frisian
Galician
Georgian
German
Greek
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Khmer
Korean
Kurdish
Kyrgyz
Lao
Latin
Latvian
Lithuanian
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mongolian
Myanmar (Burmese)
Nepali
Norwegian
Pashto
Persian
Polish
Portuguese
Punjabi
Romanian
Russian
Samoan
Scots Gaelic
Serbian
Sesotho
Shona
Sindhi
Sinhala
Slovak
Slovenian
Somali
Spanish
Sundanese
Swahili
Swedish
Tajik
Tamil
Telugu
Thai
Turkish
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Xhosa
Yiddish
Yoruba
Zulu
  Afrikaans
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bengali
Bosnian
Bulgarian
Catalan
Cebuano
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Filipino
Finnish
French
Frisian
Galician
Georgian
German
Greek
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Khmer
Korean
Kurdish
Kyrgyz
Lao
Latin
Latvian
Lithuanian
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mongolian
Myanmar (Burmese)
Nepali
Norwegian
Pashto
Persian
Polish
Portuguese
Punjabi
Romanian
Russian
Samoan
Scots Gaelic
Serbian
Sesotho
Shona
Sindhi
Sinhala
Slovak
Slovenian
Somali
Spanish
Sundanese
Swahili
Swedish
Tajik
Tamil
Telugu
Thai
Turkish
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Xhosa
Yiddish
Yoruba
Zulu
         
 
 
 
Text-to-speech function is limited to 200 characters
 
  Options : History : Feedback : Donate Close

WS_窗口风格常量的更多相关文章

  1. VC----Class Style类风格和窗口风格

    CS_BYTEALIGNCLIENT:以字节边界来对齐窗口客户区,这个风格会影响 窗口 的宽度和水平位置.实际上没有看到效果. CS_BYTEALIGNWINDOW:以字节边界来对齐窗口,这个风格会影 ...

  2. MFC窗口风格 WS_style/WS_EX_style(超详细)

    窗口风格(Window style) WS_BORDER   有边框窗口 WS_CAPTION   必须和WS_BORDER风格配合,但不能与WS_DLGFRAME风格一起使用.指示窗口包含标题要部分 ...

  3. MFC窗口风格 WS_style/WS_EX_style

    窗口风格(Window style) WS_BORDER   有边框窗口 WS_CAPTION   必须和WS_BORDER风格配合,但不能与WS_DLGFRAME风格一起使用.指示窗口包含标题要部分 ...

  4. vs调试看窗口风格

    vs调试看窗口风格 技巧:在数值上右键,以16进制显示.

  5. WIN32窗口类风格和窗口风格(备查询)

    一.WNDCLASS typedef struct { UINT cbSize //这个结构体的长度,一般用sizeof(WNDCLASSEX)设置 UINT style //窗口式样 WNDPROC ...

  6. WINDOWS窗口风格 WS_OVERLAPPEDWINDOW

    转自:http://blog.csdn.net/hquxiezk/archive/2008/07/29/2733269.aspx #define WS_OVERLAPPEDWINDOW (WS_OVE ...

  7. 修改Swing窗口风格

    String look; java:    look = "javax.swing.plaf.metal.MetalLookAndFeel"; Windows:    look = ...

  8. PYQT窗口风格

    setWindowFlags(Qt.WindowFlags)函数,Qt.WindowFlags类如下: 1.窗口类型 Qt.Qt.Widget#插件默认窗口,有最小化.最大化.关闭按钮 Qt.Qt.W ...

  9. Windows程序设计--(三)窗口与消息

    3.1 窗口的创建 3.1.1 系统结构概述 所谓「Windows给程序发送消息」,是指Windows呼叫程序中的一个函数,该函数的参数描述了这个特定消息.这种位于Windows程序中的函数称为「窗口 ...

随机推荐

  1. 获取Windows服务下当前路径的方法

    获取Windows服务下当前路径的方法 获取当前运行程序路径 包含exe Assembly.GetExecutingAssembly().Location; D:\xxxxxx\bin\Debug\x ...

  2. 初学ASP.NET 知识点

    1.C# 中的虚方法 和 C++中的作用一致,能让指向子类的父类指针优先到子类中寻找方法,而不是直接调用父类中的方法. 看一段例子回忆下: namespace ConsoleApplication1 ...

  3. 迭代和JDB(课下作业,选做)

    迭代和JDB(课下作业,选做) 题目要求 1 使用C(n,m)=C(n-1,m-1)+C(n-1,m)公式进行递归编程实现求组合数C(m,n)的功能 2 m,n 要通过命令行传入 3 提交测试运行截图 ...

  4. VUE环境项目搭建以及简单的运行例子

    1.打开cmd命令窗口,node-v和npm-v可以查看相应的安装版本信息. 2.使用一下命令全局安装vue-cli. 1)npm install  -g  vue-cli 2)如果使用淘宝镜像,则是 ...

  5. Lesson 2-2(列表,元组)

    2.3 列表 2.3.1 列表的创建方法 --- 使用方括号 [] ,括号中的元素之间使用逗号隔开. >>> [1, 2, 3, 4, 5] [1, 2, 3, 4, 5] > ...

  6. mysql5.7版本开始创建用户需要create user

    mysql5.7版本开始创建用户需要create user 5.7版本之后,直接使用:grant select on MySQL.test01 to hug@localhost; 是不行的,会报错: ...

  7. 解决exlipse下 springboot 错误:找不到或无法加载主类

    简单描述:控制台出现了下图 废话不多说,直接上解决办法: 方法一:如果你很有自信,自己的pom 没问题,并且已经加载了所有依赖的jar.ok,这是eclipse的问题,window=>prefe ...

  8. lombok @Accessors用法

    @Accessors 翻译是存取器.通过该注解可以控制getter和setter方法的形式. fluent 若为true,则getter和setter方法的方法名都是属性名,且setter方法返回当前 ...

  9. linux常用命令及使用技巧(一)

    shell命令格式:command [options][arguments] shell的通配符 *匹配任意一个或多个字符 ?匹配任意单一字符 []匹配任何包含在方括号内的单字符 shell的重定向: ...

  10. Oracle数据库体系结构之进程结构(4)

    Oracle进程结构包括用户进程,服务进程,后台进程. 1. 用户进程 用户进程在数据库用户要求连接到Oracle服务器时开始启动. 用户进程是要求Oracle服务器交互的一种进程 它必须首先建立一个 ...