spinner controls

spinner controls

why does the last DLGSET statement not update the edit box control after the DLGSET routines are called to set up the associated spinner control. Integer buddy is set on spinner control.

call clock_count(TCtimestr,timecount)
retlog = DlgSet(dlg, IDC_TCtimeSpin, timecount, DLG_POSITION)
retlog = DlgSet(dlg, IDC_TCtimeSpin, 0, DLG_RANGEMIN)
retlog = DlgSet(dlg, IDC_TCtimeSpin, 143, DLG_RANGEMAX)
retlog = DlgSetSub( dlg, IDC_TCtimeSpin, ChangeTime, dlg_change )
call ChangeTime( dlg, IDC_TCtimeSpin, dlg_change )

retlog = DlgSet( dlg, IDC_TC_WatchTime, TCtimestr)

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.