2.2.6.28.4 Slider::SetTicFreq

Description

Syntax

void SetTicFreq( int freq )

Parameters

freq

Return

Examples

EX1

#include <Control.h>
#include <..\OriginLab\DialogEx.h>
#define IDC_SLIDER1 1001

void Slider_SetTicFreq(Dialog& MyDlg)
{
	Slider m_slider = MyDlg.GetItem(IDC_SLIDER1);    
	int nFreq = 3;
	m_slider.SetTicFreq(nFreq);
}

Remark

See Also

Header to Include

Control.h