HexEdit/NewCellTypes/GridCellCombo.cpp
void CInPlaceList::OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags)
{
	if (nChar == VK_ESCAPE)
		SetWindowText(m_sInitText);	// restore previous text

	if (nChar == VK_TAB || nChar == VK_RETURN || nChar == VK_ESCAPE)
	{
		m_nLastChar = nChar;
		GetParent()->SetFocus();	// This will destroy this window
		return;
	}

	CComboBox::OnKeyUp(nChar, nRepCnt, nFlags);
}
// Need to keep a lookout for Tabs, Esc and Returns.

Need to keep a lookout for Tabs, Esc and Returns.
Need to keep a lookout for Tabs Esc and Returns .
void CInPlaceList::OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags)
{
	if (nChar == VK_ESCAPE)
		SetWindowText(m_sInitText);	
	if (nChar == VK_TAB || nChar == VK_RETURN || nChar == VK_ESCAPE)
	{
		m_nLastChar = nChar;
		GetParent()->SetFocus();	
		return;
	}
	CComboBox::OnKeyUp(nChar, nRepCnt, nFlags);
}
void CInPlaceList :: OnKeyUp ( UINT nChar , UINT nRepCnt , UINT nFlags ) { if ( nChar == VK_ESCAPE ) SetWindowText ( m_sInitText ) ; if ( nChar == VK_TAB || nChar == VK_RETURN || nChar == VK_ESCAPE ) { m_nLastChar = nChar ; GetParent ( ) -> SetFocus ( ) ; return ; } CComboBox :: OnKeyUp ( nChar , nRepCnt , nFlags ) ; }
Need to keep a lookout for Tabs, Esc and Returns.
Need to keep a lookout for Tabs Esc and Returns .
// restore previous text
 // This will destroy this window
