[DllImport("uxtheme", ExactSpelling=true)]
public extern static IntPtr GetWindowTheme(IntPtr hWnd);
VB .NET Signature:
Public Declare Function GetWindowTheme Lib "uxtheme.dll" (ByVal hWnd As IntPtr) As IntPtr
User-Defined Types:
None.
Notes:
If a window has a visual style applied, the GetWindowTheme function returns the most recent theme handle from OpenThemeData. If no visual style is applied, GetWindowTheme returns NULL.
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Alternative Managed API:
None available.
Retrieves a theme handle for a window that has visual styles applied.
3/16/2007 8:33:45 AM - -208.29.145.8
Opens the theme data for a window and its associated class.
3/16/2007 8:33:52 AM - Mick Doherty-213.107.224.5
Retrieves a theme handle for a window that has visual styles applied.