Compartilhar via


SRCCUSTOMDRAW

4/8/2010

The SRCCUSTOMDRAW structure is used as an input parameter to the IPimSrcContactListIcon::Paint method. It contains Windows Mobile device context information, and information about the state of the PIM item being drawn.

Syntax

typedef struct {
  HDC hdc;
  RECT rc;
  DWORD grfItemState;
} SRCCUSTOMDRAW;

Members

  • hdc
    Device context for painting.
  • rc
    Bounding rectangle.
  • grfItemState
    The state of the item being drawn. See Drawing State Flags for a list of possible values.

Remarks

The IPimSrcContactListIcon::Paint method enables a Source Provider to draw an alternate icon for a Contact item in the Contact list view

Requirements

Header pimstore.h
Library Pimstore.lib
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also

Reference

Pocket Outlook Object Model Structures
IPimSrcContactListIcon::Paint