I want to read the number set in SPINBOX, can it be that way?
case ID_SPINBOX_1:
switch (NCode) {
case WM_NOTIFICATION_VALUE_CHANGED:
hItem = WM_GetDialogItem(pMsg->hWin, ID_SPINBOX_1);
showing = SPINBOX_GetValue(pMsg->hWinSrc);
break;
}
break;
case ID_SPINBOX_1:
switch (NCode) {
case WM_NOTIFICATION_VALUE_CHANGED:
hItem = WM_GetDialogItem(pMsg->hWin, ID_SPINBOX_1);
showing = SPINBOX_GetValue(pMsg->hWinSrc);
break;
}
break;