COleControl::ParentToClient

Call this member function to translate a point relative to the container's origin to a point relative to the control's origin.

Syntax

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

At a Glance

Header file: Afxctl.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

COleControl Overview, COleControl Member Functions, Control Classes, COleControl::ClientToParent, COleControl::GetClientOffset