There are two following API s about controlling Input staff and IME in OS/2 Warp 3.0.
These API have an effect on the new IM module also. The application can control the IME, which conforms the new IM mechanism, by using these APIs. WM_QUERYCONVERTPOS
The IM system send the WM_QUERYCONVERTPOS message to the application. The IM system selects the action by the return value as following:
The IM system queries the presentation parameter of the target window in
order to get the information of the conversion font.
MLM_QUERYFONT
The IM system send the MLM_QUERYFONT message to MLE control in order to
get the information of the conversion font.
WinPostMsg of WM_CHAR
At the legacy IME16 model, the WM_CHAR message posted by WinPostMsg is passed to the IME by PMWIN.
At the IM model, the WM_CHAR message posted by WinPostMsg is NEVER passed
to the IME.
DBCS Status Window Class
At OS/2 Warp, there are the following three DBCS window classes in order to support the DBCS input displaying.
The window instances of these DBCS window classes are created per the frame window even if the queue codepage of the frame window, the frame creation flag of whom does not have FCF_DBE_APPSTAT, is not DBCS codepage.
At the IM model, the window instances of the DBCS window classes are created only when an application sets FCF_DBE_APPSTAT in the frame creation flag. The initial window size of these windows is zero. The size of windows are changed to no-zero when an app lication sends WM_DBE_SETAPPLSTAT message with DBE_WPM_APPLSTAT_VISIBILITY (DBE_AS_APPLTOP, DBE_AS_KBDTOP or DBE_AS_PECICTOP).
The drawing function of the WC_DBE_KBDSTAT and WC_DBE_PECIC window is disable. The drawing function of the only WC_DBE_APPSTAT window class is enable. The IM system never send the WM_SETWINDOWPARAMS to WC_DBE_KBDSTAT and WC_DBE_PECIC window.