MSDN Home >  MSDN Library >  User Interface Design and Development >  Windows Controls >  Individual Control Information >  Rich Edit Controls > 

EM_GETIMECOMPMODE Message


An application sends an EM_GETIMECOMPMODE message to get the current IME mode for a rich edit control.

Syntax

To send this message, call the SendMessage function as follows.
lResult = SendMessage(     // returns LRESULT in lResult
   (HWND) hWndControl,     // handle to destination control
   (UINT) EM_GETIMECOMPMODE,     // message ID
   (WPARAM) wParam,     // = (WPARAM) () wParam;
   (LPARAM) lParam     // = (LPARAM) () lParam;
);

Parameters

wParam
Not used; must be zero.
lParam
Not used; must be zero.

Return Value

The return value is one of the following values.

ICM_NOTOPENInput Method Editor (IME) is not open.
ICM_LEVEL3True inline mode.
ICM_LEVEL2Level 2.
ICM_LEVEL2_5Level 2.5
ICM_LEVEL2_SUISpecial user interface (UI).

Message Information

HeaderDeclared in Richedit.h
Minimum operating systems Windows 95 with Rich Edit 2.0 , Windows 98, Windows NT 4.0

See Also

Rich Edit Controls
 Contact Us   |  E-Mail this Page   |  MSDN Flash Newsletter
 c 2002 Microsoft Corporation. All rights reserved.   Terms of Use  Privacy Statement   Accessibility