INameSpaceTreeControlCustomDraw::ItemPostPaint method

Called after an item in the namespace tree control is drawn.

Syntax


HRESULT ItemPostPaint(
  [in]  HDC hdc,
  [in]  RECT *prc,
  [in]  NSTCCUSTOMDRAW *pnstccdItem
);

Parameters

hdc [in]

Type: HDC

A handle to the control's device context. Use this HDC to perform any GDI functions.

prc [in]

Type: RECT*

A pointer to the RECT structure that describes the bounding rectangle of the area being drawn.

pnstccdItem [in]

Type: NSTCCUSTOMDRAW*

A pointer to the NSTCCUSTOMDRAW struct that determines the details of the drawing.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

INameSpaceTreeControlCustomDraw

 

 

Community Additions

ADD
Show:
© 2014 Microsoft