EnableThemeDialogTexture function
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 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 10/27/2012