COleControl::ParentToClient

This method translates a point relative to the container's origin to a point relative to the control's origin.

At a Glance

Header file: Afxctl.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

virtual UINT ParentToClient( LPCRECT lprcBounds, LPPOINT pPoint,
BOOL
bHitTest = FALSE ) const;

See Also

COleControl::ClientToParent, COleControl::GetClientOffset