dwExStyle拓展窗口样式参数介绍及中英文对照.docx

上传人:pu****.1 文档编号:550490227 上传时间:2023-04-12 格式:DOCX 页数:3 大小:14.80KB
返回 下载 相关 举报
dwExStyle拓展窗口样式参数介绍及中英文对照.docx_第1页
第1页 / 共3页
dwExStyle拓展窗口样式参数介绍及中英文对照.docx_第2页
第2页 / 共3页
dwExStyle拓展窗口样式参数介绍及中英文对照.docx_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

《dwExStyle拓展窗口样式参数介绍及中英文对照.docx》由会员分享,可在线阅读,更多相关《dwExStyle拓展窗口样式参数介绍及中英文对照.docx(3页珍藏版)》请在金锄头文库上搜索。

1、WS_EX_ACCEPTFILES Specifies that a window created with this style accepts drag-and-drop files.WS_EX_APPWINDOW Forces a top-level window onto the taskbar when the window is visible.WS_EX_CLIENTEDGE Specifies that a window has a 3D look that is, a border with a sunken edge.WS_EX_CONTEXTHELP Includes a

2、 question mark in the title bar of the window. When the user clicks the question mark, the cursor changes to a question mark with a pointer. If the user then clicks a child window, the child receives a WM_HELP message.WS_EX_CONTROLPARENT Allows the user to navigate among the child windows of the win

3、dow by using the TAB key.WS_EX_DLGMODALFRAME Designates a window with a double border that may (optionally) be created with a title bar when you specify the WS_CAPTION style flag in the dwStyle parameter.WS_EX_LEFT Gives window generic left-aligned properties. This is the default.WS_EX_LEFTSCROLLBAR

4、 Places a vertical scroll bar to the left of the client area.WS_EX_LTRREADING Displays the window text using left-to-right reading order properties. This is the default.WS_EX_MDICHILD Creates an MDI child window.WS_EX_NOPARENTNOTIFY Specifies that a child window created with this style will not send

5、 the WM_PARENTNOTIFY message to its parent window when the child window is created or destroyed.WS_EX_OVERLAPPEDWINDOW Combines the WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE styles WS_EX_PALETTEWINDOW Combines the WS_EX_WINDOWEDGE and WS_EX_TOPMOST styles.WS_EX_RIGHT Gives a window generic right-aligned

6、 properties. This depends on the window class.WS_EX_RIGHTSCROLLBAR Places a vertical scroll bar (if present) to the right of the client area. This is the default.WS_EX_RTLREADING Displays the window text using right-to-left reading order properties.WS_EX_STATICEDGE Creates a window with a three-dime

7、nsional border style intended to be used for items that do not accept user input.WS_EX_TOOLWINDOW Creates a tool window, which is a window intended to be used as a floating toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window title is drawn using a smaller f

8、ont. A tool window does not appear in the task bar or in the window that appears when the user presses ALT+TAB.WS_EX_TOPMOST Specifies that a window created with this style should be placed above all nontopmost windows and stay above them even when the window is deactivated. An application can use t

9、he SetWindowPos member function to add or remove this attribute.WS_EX_TRANSPARENT Specifies that a window created with this style is to be transparent. That is, any windows that are beneath the window are not obscured by the window. A window created with this style receives WM_PAINT messages only af

10、ter all sibling windows beneath it have been updated.WS_EX_WINDOWEDGE Specifies that a window has a border with a raised edge.WS_EX_ACCEPTFILES 指明用这个风格创建的窗口能够接受拖放文件。WS_EX_CLIENTEDGE 指明窗口具有3D外观,这意味着,边框具有下沉的边界。WS_EX_CONTEXTHELP 在窗口的标题条中包含问号。当用户单击问号时,鼠标光标的形状变为带指针的问号。如果用户随后单击一个子窗口,子窗口将接收到一个WM_HELP消息。 WS

11、_EX_CONTROLPARENT 允许用户用TAB键遍历窗口的子窗口。 WS_EX_DLGMODALFRAME 指明一个具有双重边界的窗口,当你在dwStyle参数中指定了WS_CAPTION风格标志时,它可以具有标题条(可选)。 WS_EX_LEFT 指定窗口具有左对齐属性。这是缺省值。 WS_EX_LEFTSCROLLBAR 将垂直滚动条放在客户区的左边。 WS_EX_LTRREADING 按照从左到右的方式显示窗口文本。这是缺省方式。 WS_EX_MDICHILD 创建一个MDI子窗口。 WS_EX_NOPARENTNOTIFY 指定用这个风格创建的子窗口在被创建或销毁的时候将不向父窗

12、口发送WM_PARENTNOTIFY消息。 WS_EX_OVERLAPPEDWINDOW 组合了WS_EX_CLIENTEDGE和WS_EX_WIND-OWEDGE风格。 WS_EX_PALETTEWINDOW 组合了WS_EX_WINDOWEDGE和WS_EX_TOPMOST风格。 WS_EX_RIGHT 赋予窗口右对齐属性。这与窗口类有关。 WS_EX_RIGHTSCROLLBAR 将垂直滚动条(如果有)放在客户区的右边。这是缺省方式。 WS_EX_RTLREADING 按照从右到左的顺序显示窗口文本。 WS_EX_STATICEDGE 创建一个具有三维边界的窗口,用于不接受用户输入的项。

13、 WS_EX_TOOLWINDOW 创建一个工具窗口,目的是被用作浮动工具条。工具窗口具有标题条,比通常的标题条要短,窗口的标题是用小字体显示的。工具窗口不出现在任务条或用户按下ALT+TAB时出现的窗口中。 WS_EX_TOPMOST 指定用这个风格创建的窗口必须被放在所有非顶层窗口的上面,即使这个窗口已经不处于激活状态,它还是保留在最上面。应用程序可以用SetWindowsPos成员函数来加入或去掉这个属性。 WS_EX_TRANSPARENT 指定了用这个风格创建的窗口是透明的。这意味着,在这个窗口下面的任何窗口都不会被这个窗口挡住。用这个风格创建的窗口只有当它下面的窗口都更新过以后才接收WM_PAINT消息。 WS_EX_WINDOWEDGE 指定了具有凸起边框的窗口。

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 生活休闲 > 社会民生

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号