Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The PEPaintstructure paints the plug-in on the screen by using a drawing call.

Syntax

typedef struct _PEPaint {
  HDC 
hdc;
  BOOL 
fSelected;
  RECT 
rcDraw;
} PEPaint;

Members

hdc

Handle to the device context to draw in.

fSelected

Boolean value that indicates whether the plug-in is selected. If the plug-in is selected, it needs to include some form of highlighting to show that it is selected.

rcDraw

Rectangle that the drawing call draws into.

Remarks

The left and top values of rcDrawmight not be equal to 0 because, for example, the plug-in might be located in the middle of the Home screen.

If a background image is set on the Home screen, that image is already drawn to the bitmap in the drawing call. To preserve the visibility of the background image, use transparent text when drawing over the image.

Requirements

Header home.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Smartphone 2002 and later

See Also