cancel
Showing results for 
Search instead for 
Did you mean: 

LIstwheel do not work

hjh
Associate III

Hi

I do have a resitive touch xpt2046 and a ssd1963 screen.

All widgets work fine except the listwheel.

When i do touch it, it become highlightet in the first row, but it do not move

listwheel_getpos return zero

i do use GUI_TOUCH_Exec(); to update

 while (1)

 {

 HAL_Delay(10);

 GUI_TOUCH_Exec();

 GUI_Exec();

  /* USER CODE END WHILE */

  /* USER CODE BEGIN 3 */

 }

/////

   case WM_NOTIFICATION_RELEASED:

    // USER START (Optionally insert code for reacting on notification message)

     hItem = WM_GetDialogItem(pMsg->hWin, ID_LISTWHEEL_0);

     uint16_t position = LISTWHEEL_GetPos(hItem);

     // position = 15 ;

     LISTWHEEL_SetSel(hItem, position);

    // USER END

    break;

//////

where to look after the issue ...listwheel do not move ...

best regards

Hjalmar

0 REPLIES 0