claiming to handle EN_SETFOCUS broke text insertion for StrBox on PPC

(but not SP).  So for now, note focus changes and scroll if
appropriate but don't claim to have handled them.
This commit is contained in:
ehouse 2009-10-25 15:06:52 +00:00
parent cfd1350dac
commit 231c0b4f44

View file

@ -605,8 +605,8 @@ ceDoDlgHandle( CeDlgHdr* dlgHdr, UINT message, WPARAM wParam, LPARAM lParam )
case WM_COMMAND:
if ( BN_SETFOCUS == hiword || EN_SETFOCUS == hiword ) {
ceDoDlgFocusScroll( dlgHdr, (HWND)lParam );
handled = TRUE;
} else if ( BN_KILLFOCUS == hiword || EN_KILLFOCUS == hiword ) {
/* must let dialog handle EN_SETFOCUS! */
} else if ( BN_KILLFOCUS == hiword/* || EN_KILLFOCUS == hiword*/ ) {
/* dialogs shouldn't have to handle these */
handled = TRUE;
}