Struct winsafe::co::WS [−][src]
#[repr(transparent)]pub struct WS(_);
Expand description
Window
styles
(u32
).
Implementations
The window is an overlapped window. An overlapped window has a title bar
and a border. Same as the WS::TILED
style.
The window is a pop-up window. This style cannot be used with the
WS_CHILD
style.
The window is a child window. A window with this style cannot have a menu
bar. This style cannot be used with the WS::POPUP
style.
The window is initially visible. This style can be turned on and off by
using the HWND::ShowWindow
or
HWND::SetWindowPos
function.
The window is initially disabled. A disabled window cannot receive input
from the user. To change this after a window has been created, use the
HWND::EnableWindow
function.
Clips child windows relative to each other; that is, when a particular
child window receives a wm::Paint
message,
the WS::CLIPSIBLINGS
style clips all other overlapping child windows
out of the region of the child window to be updated. If
WS::CLIPSIBLINGS
is not specified and child windows overlap, it is
possible, when drawing within the client area of a child window, to draw
within the client area of a neighboring child window.
Excludes the area occupied by child windows when drawing occurs within the parent window. This style is used when creating the parent window.
The window has a border of a style typically used with dialog boxes. A window with this style cannot have a title bar.
The window has a window menu on its title bar. The WS::CAPTION
style
must also be specified.
The window has a sizing border. Same as the WS::SIZEBOX
style.
The window is the first control of a group of controls. The group
consists of this first control and all controls defined after it, up to
the next control with the WS::GROUP
style. The first control in each
group usually has the WS::TABSTOP
style so that the user can move from
group to group. The user can subsequently change the keyboard focus from
one control in the group to the next control in the group by using the
direction keys.
You can turn this style on and off to change dialog box navigation. To
change this style after a window has been created, use the
HWND::SetWindowLongPtr
function.
The window is a control that can receive the keyboard focus when the user
presses the TAB key. Pressing the TAB key changes the keyboard focus to
the next control with the WS::TABSTOP
style.
You can turn this style on and off to change dialog box navigation. To
change this style after a window has been created, use the
HWND::SetWindowLongPtr
function. For
user-created windows and modeless dialogs to work with tab stops, alter
the message loop to call the
HWND::IsDialogMessage
function.
The window has a minimize button. Cannot be combined with the
WS_EX::CONTEXTHELP
style. The
WS::SYSMENU
style must also be specified.
The window has a maximize button. Cannot be combined with the
WS_EX::CONTEXTHELP
style. The
WS::SYSMENU
style must also be specified.
The window is an overlapped window. An overlapped window has a title bar
and a border. Same as the WS::OVERLAPPED
style.
The window is an overlapped window. Same as the WS::OVERLAPPEDWINDOW
style.
The window is an overlapped window. Same as the WS::TILEDWINDOW
style.
The window is a pop-up window. This style cannot be used with the
WS::CHILD
style.
Same as the WS::CHILD
style.
Trait Implementations
Performs the &=
operation. Read more
Performs the |=
operation. Read more
Performs the ^=
operation. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more