INameSpaceTreeControlCustomDraw::PrePaint method
Called before the namespace tree control is drawn.
Syntax
HRESULT PrePaint( [in] HDC hdc, [in] RECT *prc, [out] LRESULT *plres );
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.
- plres [out]
-
Type: LRESULT*
When this method returns, contains a pointer to an LRESULT, which contains one or more of the values from the CDRF Constants enumeration.
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 |
|
|
IDL |
|
See also
Show: