what's difference between GUI_KEY_ENTER and touch Click?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

what's difference between GUI_KEY_ENTER and touch Click?

431 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mori_64 on Fri May 16 08:08:29 MST 2014
Hello all
I have a Button that in it's call back routine a new window will create .



this new window is a kind of notification and I need to do nothing until the user click one of buttons .


i use "GUI_WaitKey();" .


When ever I click by touch it works fine but when i use keypad "GUI_KEY_ENTER" it cause muc hangs .

case WM_NOTIFICATION_RELEASED:
CreateNotification("Are you Sure you want to delete ? "); 
GUI_WaitKey();
if(Notification_answ==GUI_ID_YES)
..
....


when i debug my code it stopped at this line:
U32 GUI_X_GetTaskId(void) { return 0; /*(U32)OS_GetTaskID();*/ }

Regards
Labels (1)
0 Kudos
0 Replies