HexEdit/NewCellTypes/GridCellCombo.cpp
BOOL CComboEdit::PreTranslateMessage(MSG* pMsg)
{
	// Make sure that the keystrokes continue to the appropriate handlers
	if (pMsg->message == WM_KEYDOWN || pMsg->message == WM_KEYUP)
	{
		::TranslateMessage(pMsg);
		::DispatchMessage(pMsg);
		return TRUE;
	}

	// Catch the Alt key so we don't choke if focus is going to an owner drawn button
	if (pMsg->message == WM_SYSCHAR)
		return TRUE;

	return CEdit::PreTranslateMessage(pMsg);
}
// Stoopid win95 accelerator key problem workaround - Matt Weagle.

Stoopid win95 accelerator key problem workaround - Matt Weagle.
Stoopid win95 accelerator key problem workaround - Matt Weagle .
BOOL CComboEdit::PreTranslateMessage(MSG* pMsg)
{
	if (pMsg->message == WM_KEYDOWN || pMsg->message == WM_KEYUP)
	{
		::TranslateMessage(pMsg);
		::DispatchMessage(pMsg);
		return TRUE;
	}
	if (pMsg->message == WM_SYSCHAR)
		return TRUE;
	return CEdit::PreTranslateMessage(pMsg);
}
BOOL CComboEdit :: PreTranslateMessage ( MSG * pMsg ) { if ( pMsg -> message == WM_KEYDOWN || pMsg -> message == WM_KEYUP ) { :: TranslateMessage ( pMsg ) ; :: DispatchMessage ( pMsg ) ; return TRUE ; } if ( pMsg -> message == WM_SYSCHAR ) return TRUE ; return CEdit :: PreTranslateMessage ( pMsg ) ; }
Stoopid win95 accelerator key problem workaround - Matt Weagle.
Stoopid win95 accelerator key problem workaround - Matt Weagle .
// Make sure that the keystrokes continue to the appropriate handlers
 // Catch the Alt key so we don't choke if focus is going to an owner drawn button
