OpenThemeDataEx (Windows CE 5.0)

Send Feedback

This function opens the theme data for the specified window and its associated class.

HTHEME OpenThemeDataEx(  HWND hwnd,  LPCWSTR pszClassList,DWORDdwFlags);

Parameters

  • hwnd
    [in] Handle of the window for which theme data is required.
  • pszClassList
    [in] Pointer to a string that contains class name such as "button", "scrollbar", or "edit".
  • dwFlags
    [in] Reserved and may be ignored. Internet Explorer can pass 0x0001.

Return Values

OpenThemeDataEx tries to match each class, one at a time, to a class data section in the active theme. If a match is found, an associated HTHEME handle is returned. If no match is found NULL is returned.

Remarks

When a Window is destroyed the theme handle, HTHEME, is closed by calling the CloseThemeData function.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Uxtheme.h.
Link Library: Ietheme.dll.

See Also

Theme Support Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.