CDC::DrawDragRect

This method is called repeatedly to redraw a drag rectangle. Call it in a loop as you sample pointing device position, in order to give visual feedback.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

void DrawDragRect( LPCRECT lpRect, SIZE size, LPCRECT lpRectLast,
SIZE
sizeLast, CBrush* pBrush = NULL, CBrush* pBrushLast = NULL );

See Also

CRect, CDC::GetHalftoneBrush