Hello.
1)
I have converted TTF-font for visualisation of cyrillic symbols (UTF-codepage).
Also I used at program start a routine GUI_UC_SetEncodeUTF8() for correct visualisation of cyrillic symbols.
It works well.
But if I use "input text" widgets EDIT or MULTIEDIT then after switching MS-Windows to cyrillic keyboard layout they both show extended ASCII-letters instead of cyrillic, despite that font table does contain cyrillic letters. See picture for understand the problem. Starting text at left side is not entered by keyboard, it comes outside from file. And red-marked parts - this is keyboard input (cyrillic kbd-layout in Windows).
I suppose, that problem is in codes of keyboard, which Windows-driver sends to emWin-routine, I use Windows emWin-simulator.
What should I do for fix the problem?
2)
If I use EDIT-widget then I couldn't find a solution for how to show right tail of string if its length exceeds width of widget.
3)
Also I would like to know if it is possible to get ySize (height) of current selected (highlighted) item of MENU-widget? I did not find a way to do it.
1)
I have converted TTF-font for visualisation of cyrillic symbols (UTF-codepage).
Also I used at program start a routine GUI_UC_SetEncodeUTF8() for correct visualisation of cyrillic symbols.
It works well.
But if I use "input text" widgets EDIT or MULTIEDIT then after switching MS-Windows to cyrillic keyboard layout they both show extended ASCII-letters instead of cyrillic, despite that font table does contain cyrillic letters. See picture for understand the problem. Starting text at left side is not entered by keyboard, it comes outside from file. And red-marked parts - this is keyboard input (cyrillic kbd-layout in Windows).
I suppose, that problem is in codes of keyboard, which Windows-driver sends to emWin-routine, I use Windows emWin-simulator.
What should I do for fix the problem?
2)
If I use EDIT-widget then I couldn't find a solution for how to show right tail of string if its length exceeds width of widget.
3)
Also I would like to know if it is possible to get ySize (height) of current selected (highlighted) item of MENU-widget? I did not find a way to do it.
Best regards,
Volodymyr.
Volodymyr.
The post was edited 2 times, last by volodymyr ().