SpinButton::GetBase

Description

Call this function to retrieve the current base for a spin button control.

Syntax

int GetBase( )

Parameters

Return

The current base value

Examples

EX1

#include <Control.h>
#include <..\OriginLab\DialogEx.h>

#define IDC_SPIN1 1001

void SpinButton_GetBase(Dialog& MyDlg)
{
        SpinButton  m_spBtn = MyDlg.GetItem(IDC_SPIN1);
        int nBase = m_spBtn.GetBase();
}

Remark

See Also

header to Include

Control.h