Symbian s60 中设置输入法
2010-03-19 16:17:00 来源:WEB开发网核心提示:iEdit->SetAknEditorLocalLanguage( ELangPrcChinese );iEdit->SetAknEditorInputMode( EAknEditorTextInputMode );iEdit->SetAknEditorCurrentInputMode(EAknEdi
iEdit->SetAknEditorLocalLanguage( ELangPrcChinese );
iEdit->SetAknEditorInputMode( EAknEditorTextInputMode );
iEdit->SetAknEditorCurrentInputMode(EAknEditorFullWidthKatakanaInputMode); ///???
NOTE:
只用最后一句话可以达到同样的效果
和设置输入法有关系的几个API:
m_pEdwin->SetAknEditorAllowedInputModes(EAknEditorTextInputMode); // 设置可切换的
m_pEdwin->SetAknEditorInputMode(EAknEditorTextInputMode); // Set the default input mode(没啥用啊)
m_pEdwin->SetAknEditorCurrentInputMode(EAknEditorTextInputMode);// 设置当前的(有用)
m_pEdwin->SetAknEditorNumericKeymap(EAknEditorStandardNumberModeKeymap);
iEdwin->SetInputCapabilitiesL(TCoeInputCapabilities aCapabilities); // 输入后显示****
赞助商链接