Retrieves a theme handle to a window that has visual styles applied
#include <WinAPITheme.au3> _WinAPI_GetWindowTheme ( $hWnd )
Search GetWindowTheme in MSDN Library.