Share via


PEPaint

4/8/2010

The PEPaint structure 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 rcDraw might 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

Reference

Home Screen Structures (Windows Mobile Standard)