Home > Software engineering >  Win10 problems using input method?
Win10 problems using input method?

Time:11-08

In their application in the main view of input Chinese characters, and then open a dialog box, in a program CTreeCtrl on the dialog box controls, if the control is the focus window, and to control the input Chinese characters in the input method, the control's window will appear a cursor and input the candidate window, feeling is should not appear on the control the cursor and input the candidate window, how do I solve?
Wubi input method tried sogou wubi, QQ, win10 own input method, the effect is always the same,
 
LRESULT CChildView: : WindowProc (UINT message, WPARAM WPARAM, LPARAM LPARAM)
{
The switch (the message)
{
Case WM_IME_STARTCOMPOSITION:
{
HIMC HIMC=ImmGetContext (m_hWnd);

COMPOSITIONFORM cf;
Cf. DwStyle=CFS_POINT;

Cf. PtCurrentPos. X=25;
Cf. PtCurrentPos. Y=25;

ImmSetCompositionWindow (hImc, & amp; Cf);
ImmReleaseContext (m_hWnd, hImc);
}
break;
}

Return the CWnd: : WindowProc (message, wParam, lParam);
}


CodePudding user response:

His top!!!!!!
  • Related