xtd 0.2.0
Loading...
Searching...
No Matches
extended window styles

Definition

extended window styles definitions.

Warning
Internal use only

Variables

constexpr size_t 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.
 
constexpr size_t WS_EX_NOPARENTNOTIFY
 Specifies that a child window created with this style will not send the WM_PARENTNOTIFY message to its parent window when the child window is created or destroyed.
 
constexpr size_t WS_EX_TOPMOST
 Specifies that a window created with this style should be placed above all non topmost windows and stay above them even when the window is deactivated. An application can use the SetWindowPos member function to add or remove this attribute.
 
constexpr size_t WS_EX_ACCEPTFILES
 Specifies that a window created with this style accepts drag-and-drop files.
 
constexpr size_t 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 after all sibling windows beneath it have been updated.
 
constexpr size_t WS_EX_MDICHILD
 Creates an MDI child window.
 
constexpr size_t 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 font. A tool window does not appear in the task bar or in the window that appears when the user presses ALT+TAB.
 
constexpr size_t WS_EX_WINDOWEDGE
 Specifies that a window has a border with a raised edge.
 
constexpr size_t WS_EX_CLIENTEDGE
 Specifies that a window has a 3D look — that is, a border with a sunken edge.
 
constexpr size_t WS_EX_CONTEXTHELP
 Includes a 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.
 
constexpr size_t WS_EX_RIGHT
 Gives a window generic right-aligned properties. This depends on the window class.
 
constexpr size_t WS_EX_LEFT
 Gives window generic left-aligned properties. This is the default.
 
constexpr size_t WS_EX_RTLREADING
 Displays the window text using right-to-left reading order properties.
 
constexpr size_t WS_EX_LTRREADING
 Displays the window text using left-to-right reading order properties. This is the default.
 
constexpr size_t WS_EX_LEFTSCROLLBAR
 Places a vertical scroll bar to the left of the client area.
 
constexpr size_t WS_EX_RIGHTSCROLLBAR
 Places a vertical scroll bar (if present) to the right of the client area. This is the default.
 
constexpr size_t WS_EX_CONTROLPARENT
 Allows the user to navigate among the child windows of the window by using the TAB key.
 
constexpr size_t WS_EX_STATICEDGE
 Creates a window with a three-dimensional border style intended to be used for items that do not accept user input.
 
constexpr size_t WS_EX_APPWINDOW
 Forces a top-level window onto the taskbar when the window is visible.
 
constexpr size_t WS_EX_OVERLAPPEDWINDOW
 Combines the WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE styles.
 
constexpr size_t WS_EX_PALETTEWINDOW
 Combines the WS_EX_WINDOWEDGE and WS_EX_TOPMOST styles.
 
constexpr size_t WS_EX_LAYERED
 The window is a layered window. This style cannot be used if the window has a class style of either CS_OWNDC or CS_CLASSDC. However, Microsoft Windows 8 does support the WS_EX_LAYERED style for child windows, where previous Windows versions support it only for top-level windows.
 
constexpr size_t WS_EX_NOINHERITLAYOUT
 Specifies that a child window created with this style will not send the WM_PARENTNOTIFY message to its parent window when the child window is created or destroyed.
 
constexpr size_t WS_EX_NOREDIRECTIONBITMAP
 The window does not render to a redirection surface. This is for windows that do not have visible content or that use mechanisms other than surfaces to provide their visual.
 
constexpr size_t WS_EX_LAYOUTRTL
 If the shell language is Hebrew, Arabic, or another language that supports reading order alignment, the horizontal origin of the window is on the right edge. Increasing horizontal values advance to the left.
 
constexpr size_t WS_EX_COMPOSITED
 Paints all descendants of a window in bottom-to-top painting order using double-buffering. Bottom-to-top painting order allows a descendent window to have translucency (alpha) and transparency (color-key) effects, but only if the descendent window also has the WS_EX_TRANSPARENT bit set. Double-buffering allows the window and its descendents to be painted without flicker. This cannot be used if the window has a class style of either CS_OWNDC or CS_CLASSDC.
 
constexpr size_t WS_EX_NOACTIVATE
 A top-level window created with this style does not become the foreground window when the user clicks it. The system does not bring this window to the foreground when the user minimizes or closes the foreground window.
 
constexpr size_t WS_EX_AUTOSCROLL
 Activate automatic scroll based on virtual size.
 
constexpr size_t WS_EX_MODALWINDOW
 Create a modal window.
 

Variable Documentation

◆ WS_EX_DLGMODALFRAME

constexpr size_t WS_EX_DLGMODALFRAME
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

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.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_NOPARENTNOTIFY

constexpr size_t WS_EX_NOPARENTNOTIFY
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Specifies that a child window created with this style will not send the WM_PARENTNOTIFY message to its parent window when the child window is created or destroyed.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_TOPMOST

constexpr size_t WS_EX_TOPMOST
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Specifies that a window created with this style should be placed above all non topmost windows and stay above them even when the window is deactivated. An application can use the SetWindowPos member function to add or remove this attribute.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_ACCEPTFILES

constexpr size_t WS_EX_ACCEPTFILES
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Specifies that a window created with this style accepts drag-and-drop files.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_TRANSPARENT

constexpr size_t WS_EX_TRANSPARENT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

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 after all sibling windows beneath it have been updated.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_MDICHILD

constexpr size_t WS_EX_MDICHILD
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Creates an MDI child window.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_TOOLWINDOW

constexpr size_t WS_EX_TOOLWINDOW
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

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 font. A tool window does not appear in the task bar or in the window that appears when the user presses ALT+TAB.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_WINDOWEDGE

constexpr size_t WS_EX_WINDOWEDGE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Specifies that a window has a border with a raised edge.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_CLIENTEDGE

constexpr size_t WS_EX_CLIENTEDGE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Specifies that a window has a 3D look — that is, a border with a sunken edge.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_CONTEXTHELP

constexpr size_t WS_EX_CONTEXTHELP
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Includes a 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.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_RIGHT

constexpr size_t WS_EX_RIGHT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Gives a window generic right-aligned properties. This depends on the window class.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_LEFT

constexpr size_t WS_EX_LEFT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Gives window generic left-aligned properties. This is the default.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_RTLREADING

constexpr size_t WS_EX_RTLREADING
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Displays the window text using right-to-left reading order properties.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_LTRREADING

constexpr size_t WS_EX_LTRREADING
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Displays the window text using left-to-right reading order properties. This is the default.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_LEFTSCROLLBAR

constexpr size_t WS_EX_LEFTSCROLLBAR
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Places a vertical scroll bar to the left of the client area.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_RIGHTSCROLLBAR

constexpr size_t WS_EX_RIGHTSCROLLBAR
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Places a vertical scroll bar (if present) to the right of the client area. This is the default.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_CONTROLPARENT

constexpr size_t WS_EX_CONTROLPARENT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Allows the user to navigate among the child windows of the window by using the TAB key.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_STATICEDGE

constexpr size_t WS_EX_STATICEDGE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Creates a window with a three-dimensional border style intended to be used for items that do not accept user input.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_APPWINDOW

constexpr size_t WS_EX_APPWINDOW
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Forces a top-level window onto the taskbar when the window is visible.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_OVERLAPPEDWINDOW

constexpr size_t WS_EX_OVERLAPPEDWINDOW
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Combines the WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE styles.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_PALETTEWINDOW

constexpr size_t WS_EX_PALETTEWINDOW
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Combines the WS_EX_WINDOWEDGE and WS_EX_TOPMOST styles.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_LAYERED

constexpr size_t WS_EX_LAYERED
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

The window is a layered window. This style cannot be used if the window has a class style of either CS_OWNDC or CS_CLASSDC. However, Microsoft Windows 8 does support the WS_EX_LAYERED style for child windows, where previous Windows versions support it only for top-level windows.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_NOINHERITLAYOUT

constexpr size_t WS_EX_NOINHERITLAYOUT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Specifies that a child window created with this style will not send the WM_PARENTNOTIFY message to its parent window when the child window is created or destroyed.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_NOREDIRECTIONBITMAP

constexpr size_t WS_EX_NOREDIRECTIONBITMAP
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

The window does not render to a redirection surface. This is for windows that do not have visible content or that use mechanisms other than surfaces to provide their visual.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_LAYOUTRTL

constexpr size_t WS_EX_LAYOUTRTL
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

If the shell language is Hebrew, Arabic, or another language that supports reading order alignment, the horizontal origin of the window is on the right edge. Increasing horizontal values advance to the left.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_COMPOSITED

constexpr size_t WS_EX_COMPOSITED
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Paints all descendants of a window in bottom-to-top painting order using double-buffering. Bottom-to-top painting order allows a descendent window to have translucency (alpha) and transparency (color-key) effects, but only if the descendent window also has the WS_EX_TRANSPARENT bit set. Double-buffering allows the window and its descendents to be painted without flicker. This cannot be used if the window has a class style of either CS_OWNDC or CS_CLASSDC.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_NOACTIVATE

constexpr size_t WS_EX_NOACTIVATE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

A top-level window created with this style does not become the foreground window when the user clicks it. The system does not bring this window to the foreground when the user minimizes or closes the foreground window.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ WS_EX_AUTOSCROLL

constexpr size_t WS_EX_AUTOSCROLL
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Activate automatic scroll based on virtual size.

Library
xtd.forms.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ WS_EX_MODALWINDOW

constexpr size_t WS_EX_MODALWINDOW
constexpr

#include <xtd.forms.native/include/xtd/forms/native/extended_window_styles.h>

Create a modal window.

Library
xtd.forms.native
Todo:
check if it's not redundant with WS_EX_DLGMODALFRAME flags ?
Remarks
Added specifically for xtd.
Warning
Internal use only