WM_IME_* support in win32 #508
Labels
C - needs discussion
Direction must be ironed out
DS - windows
S - enhancement
Wouldn't this be the coolest?
Milestone
(Probably other platform may need specific support as well, this issue only intend to track win32)
Win32 exposes number of IME-related message to let application handle, most notably
WM_IME_SETCONTEXT
/WM_IME_STARTCOMPOSITION
/WM_IME_COMPOSITION
/WM_IME_ENDCOMPOSITION
/WM_INPUTLANGCHANGE
(and few others likeWM_IME_CHAR
).These message requires specific processing and return value of LRESULT based on processing - i.e for
WM_IME_SETCONTEXT
,ImmIsUIMessage
. If it created one, clearISC_SHOWUICOMPOSITIONWINDOW
from lparam.ImmIsUIMessage
orDefWindowProc
for own IME managing, return it's return valus as LRESULT, or just forward message toDefWindowProc
and return it's value as LRESULT.DefWindowProc
, instead have to foward it to own IME window instead.Couple of things I couldn't wrap my head around for those implementation are
ImmIsUIMessage
(orDefWindowProc
per preferences) when decided to manage IME handling, probably too low level exposure. Maybe there need to be some sort of manager to wraps up? (and those manager also stores context of application level IME status, manages forward message to DefWindowProc or not as well)The text was updated successfully, but these errors were encountered: