Condividi tramite


CMFCToolTipInfo::m_nGradientAngle

Specifies the angle at which a gradient is drawn on the background of tooltips.

int m_nGradientAngle;

Remarks

m_nGradientAngle specifies the angle, in degrees, that the gradient on the background of tooltips is offset from horizontal. If m_nGradientAngle is 0, the gradient is drawn from left to right. If m_nGradientAngle is between 1 and 360, the gradient is rotating clockwise by that number of degrees. If m_nGradientAngle is -1, which is the default value, the gradient is drawn from top to bottom. This is the same as setting m_nGradientAngle to 90.

CMFCToolTipInfo::m_clrFill clrFill specifies the color of the beginning of the gradient and CMFCToolTipInfo::m_clrFillGradient clrFillGradient specifies the color of the end of the gradient. If m_clrFillGradient is -1, there is no gradient.

Requirements

Header: afxToolTipCtrl.h

See Also

Reference

CMFCToolTipInfo Class

Hierarchy Chart