Partager via


Theme Support Functions (Windows CE 5.0)

Send Feedback

This topic describes the functions that must be declared and implemented to provide custom theme support.

Note   The module containing the theme functions must be named as ietheme.dll

Microsoft Windows CE provides a sample implementation in the %_WINCEROOT%\PUBLIC\IE\OAK\IETHEME folder.

The following table shows functions that you must use for theme support.

Programming element Description
CloseThemeData Closes the theme data handle.
DrawThemeBackground Draws the background image defined by the visual style or the specified control part.
GetThemeBackgroundExtent Calculates the size and location of the background, defined by the visual style, given the content area.
GetThemeColor Retrieves the value of the color property.
GetThemeFont Retrieves the value of the font property.
HitTestThemeBackground Retrieves a hit test code for a point in the background specified by visual style.
IsAppThemed Determines whether or not the application UI displays visual style.
OpenThemeDataEx Opens the theme data for a window and its associated class.

See Also

Theme Support Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.