본문 바로가기

예전/API

[API] IME에서 좌상단에 네모칸 없애기

응용 프로그램 특정 창에 대 한 IME 해제 하려면 아래와 같이 ImmAssociateContext() API 호출할 수 있습니다.



      HIMC hIMC;

   hIMC = ImmAssociateContext(hWnd, NULL);   // It makes IME disable for
                                             // hWnd window.

   // Then you can do whatever you want without IME.

   ImmAssociateContext(hWnd, hIMC); // If you want to enable
                                    // IME again, then you can
                                    // use the previous stored IME
                                    // context(hIMC)
                                    // to restore IME.
			



http://support.microsoft.com/kb/171154/ko