共用方式為


CSliderCtrl::SetTipSide

Positions a tooltip control used by a trackbar control.

int SetTipSide(
   int nLocation 
);

Parameters

  • nLocation
    Value representing the location at which to display the tooltip control. For a list of possible values, see the Win32 message TBM_SETTIPSIDE, as described in the Windows SDK.

Return Value

A value that represents the tooltip control's previous location. The return value equals one of the possible values for nLocation.

Remarks

This member function implements the behavior of the Win32 message TBM_SETTIPSIDE, as described in the Windows SDK. Slider controls that use the TBS_TOOLTIPS style display tooltips. For a description of the slider control styles, see Trackbar Control Styles in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CSliderCtrl Class

Hierarchy Chart

Other Resources

CSliderCtrl Members