CToolTipCtrl::GetMargin

Retrieves the top, left, bottom, and right margins set for a tool tip window.

void GetMargin(
   LPRECT lprc 
) const;

Parameters

  • lprc
    Address of a RECT structure that will receive the margin information. The members of the RECT structure do not define a bounding rectangle. For the purpose of this message, the structure members are interpreted as follows:

    Member

    Representation

    top

    Distance between top border and top of tool tip text, in pixels.

    left

    Distance between left border and left end of tip text, in pixels.

    bottom

    Distance between bottom border and bottom of tip text, in pixels.

    right

    Distance between right border and right end of tip text, in pixels.

Remarks

This member function implements the behavior of the Win32 message TTM_GETMARGIN, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CToolTipCtrl Class

Hierarchy Chart

CToolTipCtrl::SetMargin

Other Resources

CToolTipCtrl Members