Ignore:
Timestamp:
Aug 8, 2003, 3:30:22 PM (22 years ago)
Author:
sandervl
Message:

KOM: WM_IME_CHAR generation + processing added for DBCS input

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbase.cpp

    r10190 r10216  
    1 /* $Id: win32wbase.cpp,v 1.376 2003-07-31 15:56:45 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.377 2003-08-08 13:30:20 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    21232123        return 0; //comctl32 controls expect this
    21242124
     2125    case WM_IME_CHAR:
     2126        if( wParam & 0xFF00 ) // DBCS ?
     2127            SendMessageA( getWindowHandle(), WM_CHAR, ( WPARAM )( BYTE )( wParam >> 8 ), lParam );
     2128        SendMessageA( getWindowHandle(), WM_CHAR, ( WPARAM )( BYTE )( wParam & 0xFF ), lParam );
     2129        break;
     2130
    21252131    default:
    21262132        return 0;
     
    22052211        return TRUE;
    22062212    }
     2213
     2214    case WM_IME_CHAR:
     2215        SendMessageW( getWindowHandle(), WM_CHAR, wParam, lParam );
     2216        return 0;
    22072217
    22082218    default:
Note: See TracChangeset for help on using the changeset viewer.