Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SetWindowThemeNonClientAttributes function

Sets non-client attributes to control how visual styles are applied to a specified window.

Syntax


HRESULT SetWindowThemeNonClientAttributes(
  _In_ HWND  hwnd,
  _In_ DWORD dwMask,
  _In_ DWORD dwAttributes
);

Parameters

hwnd [in]

Type: HWND

A handle to the window in which to apply changes.

dwMask [in]

Type: DWORD

A bitmask that describes which values are to be modified. Can be a combination of the WTNCA constants.

dwAttributes [in]

Type: DWORD

A combination of flags that modify window visual style attributes based on dwMask. Can be a combination of the WTNCA constants.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Uxtheme.h

Library

UxTheme.lib

DLL

UxTheme.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft