OpenThemeDataEx (Windows CE 5.0)
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.
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.
Link Library: Ietheme.dll.
Send Feedback on this topic to the authors