次の方法で共有


OpenThemeDataEx (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HTHEME OpenThemeDataEx(
  HWND hwnd,
  LPCWSTR pszClassList,
  DWORD dwFlags
);

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 Value

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

Header uxtheme.h
Library Ietheme.dll
Windows Embedded CE Windows CE 5.0 and later

See Also

Concepts

Theme Support Reference

Other Resources

Theme Support Functions