次の方法で共有


PEPaint

Send Feedback

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

Pocket PC: None
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: home.h

See Also

Home Screen Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.