Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.