OpenThemeDataEx (Windows CE 5.0)

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,
  DWORD dwFlags


[in] Handle of the window for which theme data is required.
[in] Pointer to a string that contains class name such as "button", "scrollbar", or "edit".
[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.


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


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.