EnableThemeDialogTexture function (uxtheme.h)
Enables or disables the visual style of the background of a dialog window.
Syntax
HRESULT EnableThemeDialogTexture(
[in] HWND hwnd,
[in] DWORD dwFlags
);
Parameters
[in] hwnd
Type: HWND
Window handle of the target dialog box.
[in] dwFlags
Type: DWORD
One of the following option flag values:
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
EnableThemeDialogTexture can be used to tailor dialog box compatibility with child windows and controls that may or may not coordinate rendering their client area backgrounds with that of their parent dialog box.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | uxtheme.h |
Library | UxTheme.lib |
DLL | UxTheme.dll |