SRCCUSTOMDRAW

Windows Mobile 6.5
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.


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

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.

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

Headerpimstore.h
LibraryPimstore.lib
Windows MobilePocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

Community Additions

Show: