Esempio n. 1
0
bool SysOptDialog::EventChildKey(Win* child, cevent_key* pEvent)
{
	if (pEvent->Type() == EV_KEYDOWN) 
	{
		if (pEvent->Key() == VK_RETURN && langButton.InFocus()) //prevent autoenter
			return false;
		
	}; 
 	return NCVertDialog::EventChildKey(child, pEvent);
}
Esempio n. 2
0
bool SftpLogonDialog::EventChildKey( Win* child, cevent_key* pEvent )
{
	if ( pEvent->Type() == EV_KEYDOWN )
	{
		if ( pEvent->Key() == VK_RETURN && charsetButton.InFocus() ) //prevent autoenter
		{
			return false;
		}

	};

	return NCVertDialog::EventChildKey( child, pEvent );
}