Freigeben über


CToolTipCtrl::SetMargin

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

void SetMargin(
   LPRECT lprc 
);

Parameters

  • lprc
    Address of a RECT structure that contains the margin information to be set. The members of the RECT structure do not define a bounding rectangle. See CToolTipCtrl::GetMargin for a description of the margin information.

Remarks

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

Requirements

Header: afxcmn.h

See Also

Concepts

CToolTipCtrl Class

CToolTipCtrl Members

Hierarchy Chart

CToolTipCtrl::GetMargin