EnableThemeDialogTexture Method
Description
Enables or disables dialog background theme.
Syntax
Public Sub EnableThemeDialogTexture( _
ByVal [hWnd](#) As Integer, _
ByVal [Flags](#) As Long _
)
Parameters
- hWnd: The window handle of the target control.
- Flags:
1: To disable background texturing.6: To enable skin-defined background texturing using the background of the parent tab control.
Remarks
EnableThemeDialogTexture can be used to tailor dialog compatibility with child windows and controls that may or may not coordinate the rendering of their client area backgrounds with that of their parent dialog in a manner that supports seamless background texturing.
There are some situations where a control will not be able to automatically be skinned as the parent control might not support seamless background texturing. In these cases, the EnableThemeDialogTexture method can be used to apply the skin texture to the child control.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.