Enables or disables the visual style of a dialog window's background.
EnableThemeDialogTexture can be used to tailor dialog compatibility with child windows and controls that may or may not coordinate rendering their client area backgrounds with that of their parent dialog.
Declare Function EnableThemeDialogTexture Lib "uxtheme.dll" (ByVal hWnd As Long, ByVal dwFlags As Long) As Long
Window handle of the target dialog.
DWORD that can receive one of the following flag values.
Returns S_OK if successful, or an error value otherwise.