Hello,
I'm using now different Menu with the ICONVIEW Widget.
There I also have some Menu where I have a big space between the icons.
At the moment I evaluate touch event on the INOVIEW in the following way:
Display All
But now I have the Problem that if I touch the display between the two icons then the left icon will be selcted. So I react on a event although I have not touched the icon.
If this happen if there is only a space of some pixcel between the icons this would be no big problem. But now I have a space of about 100 Pixcel between!
Is there any solution for this Problem?
regards
markus
I'm using now different Menu with the ICONVIEW Widget.
There I also have some Menu where I have a big space between the icons.
At the moment I evaluate touch event on the INOVIEW in the following way:
C Source Code
- case WM_NOTIFY_PARENT :
- NCode = pMsg->Data.v;
- Id = WM_GetId ( pMsg->hWinSrc );
- if ( Id == ID_ICONVIEW_0 )
- {
- switch ( NCode )
- {
- case WM_NOTIFICATION_RELEASED :
- Sel = ICONVIEW_GetSel ( pMsg->hWinSrc );
- if ( Sel == 0 )
- {
- TaskQueue_Enqueue ( EVENT_UPDATE_MENU );
- }
- else if ( Sel == 1 )
- {
- TaskQueue_Enqueue ( EVENT_UPDATE_MENU );
- }
- break;
- }
- }
- break;
But now I have the Problem that if I touch the display between the two icons then the left icon will be selcted. So I react on a event although I have not touched the icon.
If this happen if there is only a space of some pixcel between the icons this would be no big problem. But now I have a space of about 100 Pixcel between!
Is there any solution for this Problem?
regards
markus