EnableThemeDialogTexture function
Applies to: desktop apps only
Enables or disables the visual style of the background of a dialog window.
Syntax
HRESULT EnableThemeDialogTexture( __in HWND hwnd, __in DWORD dwFlags );
Parameters
- hwnd [in]
-
Type: HWND
Window handle of the target dialog box.
- dwFlags [in]
-
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
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 3/6/2012