Esempio n. 1
0
//int CaGroup::SetTitle(unsigned char *pData,int iLen)
//{
//	return 1;
//}
int CaGroup::ProcEvent(int iEvent,unsigned char *pEventData, int iDataLen)
{
	if(m_iObjCount <= 0)
	{
		return 0;
	}
	if(m_pCurObj != NULL ) //先让当前子对象处理
	{	
		if( m_pCurObj->ProcEvent(iEvent,pEventData,iDataLen) == 1 )
		{
			return 1;
		}
	}
	int res=0;
	switch(iEvent)
	{
		case PRE_OBJ_KEY:         //前一个控件
			 OnUpKey();
			 res=1;
			break;
#if(POS_TYPE !=POS_APE3000R)
		case NEXT_OBJ_KEY:        //后一个控件
			OnDownKey();
			res=1;
			break;
#endif
		case TAB_KEY:
		//	res=OnTabKey();
			OnDownKey();
			res=1;
			break;
		case LEFT_KEY:
			res=OnLeftKey();
			break;
		case RIGHT_KEY:
			res=OnRightKey();
			break;
		default:
			return res;
	}
	return res;
}
void CNetAutoDialSetWin::OnInput1(int iEvent, unsigned char * pEventData, int iDataLen)
{
	OnDownKey(); 
	return;		
}
Esempio n. 3
0
void CInvWasteWin::OnInput2(int iEvent, unsigned char * pEventData, int iDataLen)
{
	OnDownKey(); //切换焦点到下一个控件
	return;		
}
void CChangeDiskPswWin::OnInput3(int iEvent, unsigned char * pEventData, int iDataLen)
{
	OnDownKey(); //切换焦点到下一个控件
	return;		
}
Esempio n. 5
0
int CaGroup::OnRightKey(void)
{
	return OnDownKey();
}
void CApnAccPointSetWin::OnInput1(int iEvent, unsigned char * pEventData, int iDataLen)
{
	OnDownKey(); 
	return;		
}
void CNet3GWlenSetWin::OnInput2(int iEvent, unsigned char * pEventData, int iDataLen)
{
	OnDownKey(); 
	return;		
}
void CInvRetServerWin::OnInput3(int iEvent, unsigned char * pEventData, int iDataLen)
{
    OnDownKey(); //切换焦点到下一个控件
    return;
}