Theme Support Functions (Windows Embedded CE 6.0)

1/6/2010

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

Note

The module that contains the theme functions must be named as ietheme.dll

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

In This Section

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, which is 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 the application UI displays visual style

OpenThemeDataEx

Opens the theme data for a window and its associated class

See Also

Concepts

Theme Support Reference