Table of Contents

Enum MswUtils.NativeMethods.WindowCompositionAttribute

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Represents various window composition attributes that can be queried or set for a window. These attributes are used with native calls such as SetWindowCompositionAttribute to control non-client rendering, accent policies, cloaking, dark mode colors, and other window composition behaviors.

public enum MswUtils.NativeMethods.WindowCompositionAttribute : uint

Fields

AccentPolicy = 19

Controls the accent policy (blur, acrylic, etc.) for the window.

AllowNcpaint = 4

Allows the window to receive non-client paint messages.

CaptionButtonBounds = 5

Retrieves or sets the caption button bounds.

Cloak = 17

Cloaks the window (makes it invisible to the user but still present).

Cloaked = 18

Indicates whether the window is currently cloaked.

DisallowPeek = 16

Disables the Peek feature for the window.

EverUncloaked = 21

Indicates the window has been ever uncloaked.

ExcludedFromDda = 24

Excludes the window from DirectDraw acceleration (DDA).

ExcludedFromLivepreview = 13

Excludes the window from live preview (alt-tab or peek).

ExtendedFrameBounds = 8

Retrieves the extended frame bounds of the window.

ForceActivewindowAppearance = 15

Forces the active window appearance when set.

ForceIconicRepresentation = 7

Forces the window to use an iconic (minimized) representation.

FreezeRepresentation = 20

Freezes the window representation to prevent updates.

HasIconicBitmap = 9

Indicates the window has an iconic bitmap.

Holographic = 23

Holographic-related composition attribute (platform specific).

Last = 27

Last valid attribute index (sentinel value).

Ncadornmentinfo = 12

Provides additional non-client adornment information.

NcrenderingEnabled = 1

Enables or disables non-client rendering for the window.

NcrenderingExiled = 11

Extended non-client rendering state (exiled state).

NcrenderingPolicy = 2

Sets the non-client rendering policy for the window.

NonclientRtlLayout = 6

Sets non-client right-to-left layout for the window.

Passiveupdatemode = 25

Enables passive update mode for certain composition operations.

ThemeAttributes = 10

Controls theme-related attributes for non-client areas.

TransitionsForcedisabled = 3

When set, transitions (animations) are forcibly disabled.

Undefined = 0

Undefined or unknown attribute. No operation.

Usedarkmodecolors = 26

Indicates that dark mode colors should be used for the window.

VideoOverlayActive = 14

Indicates that a video overlay is active for the window.

VisualOwner = 22

Identifies the visual owner for the window.