资源列表就不用列出来了,把回调函数列出来:static void cbPDA_SubMenuDialog(WM_MESSAGE* pMsg)
{
WM_HWIN hWin;
BUTTON_Handle hButton;
hWin=pMsg->hWin;
switch(pMsg->MsgId)
{
case WM_NOTIFY_PARENT:
if (pMsg->Data.v == WM_NOTIFICATION_RELEASED)
{
switch(((WM_KEY_INFO*)(pMsg->Data.p))->Key)
{
case KEY_MSG_DOWN:
WM_SetFocus(WM_GetDialogItem(hWin, GUI_ID_BUTTON2));
break;
default:
break;
}
}
default:
WM_DefaultProc(pMsg);
}
}
|