EnableThemeDialogTexture

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.

Declaration

Declare Function EnableThemeDialogTexture Lib "uxtheme.dll" (ByVal hWnd As Long, ByVal dwFlags As Long) As Long

Parameters

hWnd
Window handle of the target dialog.

dwFlags
DWORD that can receive one of the following flag values.

ETDT_ENABLE

ETDT_DISABLE

ETDT_USETABTEXTURE

ETDT_ENABLETAB

Return value

Returns S_OK if successful, or an error value otherwise.

For more Information, contact us via email at info@earlsoft.co.uk.