Enum MswUtils.NativeMethods.WindowCompositionAttribute
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 = 19Controls the accent policy (blur, acrylic, etc.) for the window.
AllowNcpaint = 4Allows the window to receive non-client paint messages.
CaptionButtonBounds = 5Retrieves or sets the caption button bounds.
Cloak = 17Cloaks the window (makes it invisible to the user but still present).
Cloaked = 18Indicates whether the window is currently cloaked.
DisallowPeek = 16Disables the Peek feature for the window.
EverUncloaked = 21Indicates the window has been ever uncloaked.
ExcludedFromDda = 24Excludes the window from DirectDraw acceleration (DDA).
ExcludedFromLivepreview = 13Excludes the window from live preview (alt-tab or peek).
ExtendedFrameBounds = 8Retrieves the extended frame bounds of the window.
ForceActivewindowAppearance = 15Forces the active window appearance when set.
ForceIconicRepresentation = 7Forces the window to use an iconic (minimized) representation.
FreezeRepresentation = 20Freezes the window representation to prevent updates.
HasIconicBitmap = 9Indicates the window has an iconic bitmap.
Holographic = 23Holographic-related composition attribute (platform specific).
Last = 27Last valid attribute index (sentinel value).
Ncadornmentinfo = 12Provides additional non-client adornment information.
NcrenderingEnabled = 1Enables or disables non-client rendering for the window.
NcrenderingExiled = 11Extended non-client rendering state (exiled state).
NcrenderingPolicy = 2Sets the non-client rendering policy for the window.
NonclientRtlLayout = 6Sets non-client right-to-left layout for the window.
Passiveupdatemode = 25Enables passive update mode for certain composition operations.
ThemeAttributes = 10Controls theme-related attributes for non-client areas.
TransitionsForcedisabled = 3When set, transitions (animations) are forcibly disabled.
Undefined = 0Undefined or unknown attribute. No operation.
Usedarkmodecolors = 26Indicates that dark mode colors should be used for the window.
VideoOverlayActive = 14Indicates that a video overlay is active for the window.
VisualOwner = 22Identifies the visual owner for the window.