TCoeInputCapabilities Capabilities = iEdwin->InputCapabilities();
Capabilities.SetCapabilities(TCoeInputCapabilities::EAllText | TCoeInputCapabilities::ENavigation);
林() 17:27:13
SetInputCapabilitiesL(TCoeInputCapabilities::EWesternAlphabetic); 这个是不是你想要的?
巩武() 17:28:29
不行也
巩武() 17:28:35
#还是直接输入了
巩武() 17:30:35
iNameEdit = new (ELeave) CEikEdwin;
iNameEdit->SetContainerWindowL(*this);
iNameEdit->EnableCcpuSupportL(ETrue);
iNameEdit->SetInputCapabilitiesL(TCoeInputCapabilities::EWesternAlphabetic);
iNameEdit->SetAvkonWrap(ETrue);
iNameEdit->ConstructL(CEikEdwin::EWidthInPixels | CEikEdwin::EAllowUndo
| CEikEdwin::EResizable, 0, 4, 1);
iNameEdit->SetTextL(¬e);
iNameEdit->SetBackgroundColorL(KRgbWhite);
iNameEdit->SetCursorPosL(0, EFalse);
iNameEdit->SetExtent(TPoint(10, 10), TSize(100,
30));
巩武() 17:30:44
有错吗?
林() 17:30:52
你想输入什么
巩武(1032669066) 17:31:01
输入中文啊
巩武(1032669066) 17:31:08
就是简单的可以输入中文
一翼Owen 17:32:47
iEditor->SetAknEditorLocalLanguage( ELangPrcChinese );
iEditor->SetAknEditorCurrentInputMode( EAknEditorFullWidthKatakanaInputMode ) ;
一翼Owen 17:33:39
RESOURCE GTXTED r_meefon_chinese_editor
{
flags = EEikEdwinInclusiveSizeFixed ;
avkon_flags = EAknEditorFlagDefault ;
numlines = 10;
textlimit= 200;
fontcontrolflags = EGulFontControlAll;
fontnameflags = EGulNoSymbolFonts;
allowed_input_modes = EAknEditorAllInputModes;
default_input_mode = EAknEditorFullWidthKatakanaInputMode;
allowed_case_modes = EAknEditorAllCaseModes;
}
一翼Owen 17:34:27
设置这个表示拼音 EAknEditorFullWidthKatakanaInputMode
巩武(1032669066) 17:34:37
好,我看看