Recent Posts
Recent Comments
아래의 두 가지 방법이 있습니다.
엮인 글: IME 한/영 상태 전환하기
int get_language() { BOOL bRet=FALSE; if(hIMC=ImmGetContext(hWnd)) { DWORD fdwConversion, fdwSentence; BOOL bRet2=ImmGetConversionStatus(hIMC, &fdwConversion, &fdwSentence); if(bRet2){bRet=(fdwConversion & IME_CMODE_NATIVE ? TRUE : FALSE);} ImmReleaseContext(hWnd, hIMC); } return bRet; }
int get_language() { BOOL bRet=FALSE; if(hIMC=ImmGetContext(hWnd)) { bRet=ImmGetOpenStatus(hIMC); ImmReleaseContext(hWnd, hIMC); } return bRet; }
Comments