what's difference between GUI_KEY_ENTER and touch Click?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

what's difference between GUI_KEY_ENTER and touch Click?

773 次查看
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
标签 (1)
0 项奖励
回复
0 回复数