Changeset 691 in dev for trunk/ab5.0/abdev/abdev/TextEditor_EventProc.cpp
- Timestamp:
- Jul 18, 2008, 11:05:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/TextEditor_EventProc.cpp
r629 r691 7 7 void TextEditEvent_IME_StartComposition(HWND hwnd); 8 8 BOOL TextEditEvent_IME_Composition(HWND hwnd,LPARAM lParam); 9 LRESULT TextEditEvent_IME_RecomvertString(HWND hwnd,RECONVERTSTRING* prcs); 10 BOOL TextEditEvent_IME_ConfirmRecomvertString(HWND hwnd,RECONVERTSTRING* prcs); 9 11 10 12 //マウス関連のイベント … … 59 61 //デフォルト処理を行う 60 62 break; 61 case WM_IME_CHAR:62 //デフォルト処理を行わない(WM_CHARを呼び出さないため)63 return 0;64 63 case WM_IME_COMPOSITION: 65 64 if(!TextEditEvent_IME_Composition(hwnd,lParam)) return 0; 66 65 67 66 //デフォルト処理を行う 67 break; 68 case WM_IME_REQUEST: 69 //再変換処理を行う 70 if(wParam==IMR_RECONVERTSTRING) 71 return TextEditEvent_IME_RecomvertString(hwnd,reinterpret_cast<RECONVERTSTRING*>(lParam)); 72 else if (wParam==IMR_CONFIRMRECONVERTSTRING) 73 return TextEditEvent_IME_ConfirmRecomvertString(hwnd,reinterpret_cast<RECONVERTSTRING*>(lParam)); 68 74 break; 69 75
Note:
See TracChangeset
for help on using the changeset viewer.