wgui_categories_inputs.c
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:1705k
源码类别:

MTK

开发平台:

C/C++

  1.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  2.             break;
  3.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FRENCH:
  4.             set_multiline_inputbox_mask(0);
  5.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_FRENCH);
  6.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  7.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  8.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_FRENCH;
  9.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  10.             break;
  11.         #endif /* defined(__MMI_MULTITAP_FRENCH__) */ 
  12.         #if defined(__MMI_MULTITAP_GERMAN__)
  13.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GERMAN:
  14.             set_multiline_inputbox_mask(0);
  15.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_GERMAN);
  16.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  17.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  18.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_GERMAN;
  19.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  20.             break;
  21.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GERMAN:
  22.             set_multiline_inputbox_mask(0);
  23.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_GERMAN);
  24.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  25.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  26.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_GERMAN;
  27.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  28.             break;
  29.         #endif /* defined(__MMI_MULTITAP_GERMAN__) */ 
  30.         #if defined(__MMI_MULTITAP_ITALIAN__)
  31.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ITALIAN:
  32.             set_multiline_inputbox_mask(0);
  33.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_ITALIAN);
  34.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  35.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  36.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_ITALIAN;
  37.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  38.             break;
  39.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ITALIAN:
  40.             set_multiline_inputbox_mask(0);
  41.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_ITALIAN);
  42.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  43.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  44.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_ITALIAN;
  45.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  46.             break;
  47.         #endif /* defined(__MMI_MULTITAP_ITALIAN__) */ 
  48.         #if defined(__MMI_MULTITAP_RUSSIAN__)
  49.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_RUSSIAN:
  50.             set_multiline_inputbox_mask(0);
  51.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_RUSSIAN);
  52.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  53.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  54.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_RUSSIAN;
  55.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  56.             break;
  57.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_RUSSIAN:
  58.             set_multiline_inputbox_mask(0);
  59.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_RUSSIAN);
  60.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  61.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  62.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_RUSSIAN;
  63.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  64.             break;
  65.         #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */ 
  66.         #if defined(__MMI_MULTITAP_BULGARIAN__)
  67.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_BULGARIAN:
  68.             set_multiline_inputbox_mask(0);
  69.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_BULGARIAN);
  70.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  71.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  72.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_BULGARIAN;
  73.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  74.             break;
  75.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_BULGARIAN:
  76.             set_multiline_inputbox_mask(0);
  77.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_BULGARIAN);
  78.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  79.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  80.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_BULGARIAN;
  81.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  82.             break;
  83.         #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */ 
  84.         #if defined(__MMI_MULTITAP_TURKISH__)
  85.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_TURKISH:
  86.             set_multiline_inputbox_mask(0);
  87.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_TURKISH);
  88.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  89.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  90.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_TURKISH;
  91.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  92.             break;
  93.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_TURKISH:
  94.             set_multiline_inputbox_mask(0);
  95.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_TURKISH);
  96.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  97.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  98.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_TURKISH;
  99.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  100.             break;
  101.         #endif /* defined(__MMI_MULTITAP_TURKISH__) */ 
  102.         #if defined(__MMI_MULTITAP_PORTUGUESE__)
  103.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_PORTUGUESE:
  104.             set_multiline_inputbox_mask(0);
  105.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_PORTUGUESE);
  106.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  107.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  108.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_PORTUGUESE;
  109.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  110.             break;
  111.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_PORTUGUESE:
  112.             set_multiline_inputbox_mask(0);
  113.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_PORTUGUESE);
  114.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  115.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  116.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_PORTUGUESE;
  117.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  118.             break;
  119.         #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */ 
  120.         #if defined(__MMI_MULTITAP_HINDI__)
  121.         case INPUT_TYPE_MULTITAP_HINDI:
  122.             set_multiline_inputbox_mask(0);
  123.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_HINDI);
  124.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  125.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  126.             MMI_current_input_mode = INPUT_MODE_MULTITAP_HINDI;
  127.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  128.             break;
  129.         #endif /* defined(__MMI_MULTITAP_HINDI__) */ 
  130.             /* PMT RAKESH START 20061006 */
  131.         #if defined(__MMI_MULTITAP_MARATHI__)
  132.         case INPUT_TYPE_MULTITAP_MARATHI:
  133.             set_multiline_inputbox_mask(0);
  134.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_MARATHI);
  135.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  136.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  137.             MMI_current_input_mode = INPUT_MODE_MULTITAP_MARATHI;
  138.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  139.             break;
  140.         #endif /* defined(__MMI_MULTITAP_MARATHI__) */ 
  141.             /* PMT RAKESH END 20061006 */
  142.         #if defined(__MMI_MULTITAP_INDONESIAN__)
  143.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_INDONESIAN:
  144.             set_multiline_inputbox_mask(0);
  145.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_INDONESIAN);
  146.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  147.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  148.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_INDONESIAN;
  149.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  150.             break;
  151.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_INDONESIAN:
  152.             set_multiline_inputbox_mask(0);
  153.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_INDONESIAN);
  154.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  155.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  156.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_INDONESIAN;
  157.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  158.             break;
  159.         #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */ 
  160.         #if defined(__MMI_MULTITAP_CZECH__)
  161.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CZECH:
  162.             set_multiline_inputbox_mask(0);
  163.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_CZECH);
  164.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  165.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  166.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_CZECH;
  167.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  168.             break;
  169.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CZECH:
  170.             set_multiline_inputbox_mask(0);
  171.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_CZECH);
  172.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  173.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  174.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_CZECH;
  175.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  176.             break;
  177.         #endif /* defined(__MMI_MULTITAP_CZECH__) */ 
  178.         #if defined(__MMI_MULTITAP_MALAY__)
  179.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_MALAY:
  180.             set_multiline_inputbox_mask(0);
  181.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_MALAY);
  182.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  183.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  184.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_MALAY;
  185.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  186.             break;
  187.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_MALAY:
  188.             set_multiline_inputbox_mask(0);
  189.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_MALAY);
  190.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  191.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  192.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_MALAY;
  193.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  194.             break;
  195.         #endif /* defined(__MMI_MULTITAP_MALAY__) */ 
  196.         #if defined(__MMI_MULTITAP_VIETNAMESE__)
  197.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_VIETNAMESE:
  198.             set_multiline_inputbox_mask(0);
  199.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_VIETNAMESE);
  200.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  201.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  202.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_VIETNAMESE;
  203.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  204.             break;
  205.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_VIETNAMESE:
  206.             set_multiline_inputbox_mask(0);
  207.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_VIETNAMESE);
  208.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  209.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  210.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_VIETNAMESE;
  211.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  212.             break;
  213.         #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */ 
  214.         #if defined(__MMI_MULTITAP_FINNISH__)
  215.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FINNISH:
  216.             set_multiline_inputbox_mask(0);
  217.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_FINNISH);
  218.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  219.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  220.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_FINNISH;
  221.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  222.             break;
  223.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FINNISH:
  224.             set_multiline_inputbox_mask(0);
  225.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_FINNISH);
  226.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  227.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  228.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_FINNISH;
  229.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  230.             break;
  231.         #endif /* defined(__MMI_MULTITAP_FINNISH__) */ 
  232.         #if defined(__MMI_MULTITAP_HUNGARIAN__)
  233.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_HUNGARIAN:
  234.             set_multiline_inputbox_mask(0);
  235.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_HUNGARIAN);
  236.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  237.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  238.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_HUNGARIAN;
  239.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  240.             break;
  241.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_HUNGARIAN:
  242.             set_multiline_inputbox_mask(0);
  243.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_HUNGARIAN);
  244.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  245.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  246.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_HUNGARIAN;
  247.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  248.             break;
  249.         #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */ 
  250.         #if defined(__MMI_MULTITAP_HEBREW__)
  251.         case INPUT_TYPE_ALPHANUMERIC_MULTITAP_HEBREW:
  252.             set_multiline_inputbox_mask(0);
  253.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_HEBREW);
  254.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  255.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  256.             MMI_current_input_mode = INPUT_MODE_MULTITAP_HEBREW;
  257.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  258.             break;
  259.         #endif /* defined(__MMI_MULTITAP_HEBREW__) */ 
  260.         #if defined(__MMI_MULTITAP_SLOVAK__)
  261.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVAK:
  262.             set_multiline_inputbox_mask(0);
  263.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_SLOVAK);
  264.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  265.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  266.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_SLOVAK;
  267.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  268.             break;
  269.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVAK:
  270.             set_multiline_inputbox_mask(0);
  271.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_SLOVAK);
  272.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  273.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  274.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_SLOVAK;
  275.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  276.             break;
  277.         #endif /* defined(__MMI_MULTITAP_SLOVAK__) */ 
  278.         #if defined(__MMI_MULTITAP_DUTCH__)
  279.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DUTCH:
  280.             set_multiline_inputbox_mask(0);
  281.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_DUTCH);
  282.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  283.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  284.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_DUTCH;
  285.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  286.             break;
  287.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DUTCH:
  288.             set_multiline_inputbox_mask(0);
  289.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_DUTCH);
  290.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  291.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  292.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_DUTCH;
  293.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  294.             break;
  295.         #endif /* defined(__MMI_MULTITAP_DUTCH__) */ 
  296.         #if defined(__MMI_MULTITAP_ARABIC__)
  297.         case INPUT_TYPE_ALPHANUMERIC_ARABIC:
  298.             set_multiline_inputbox_mask(0);
  299.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_ARABIC);
  300.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  301.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  302.             MMI_current_input_mode = INPUT_MODE_MULTITAP_ARABIC;
  303.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  304.             break;
  305.         #endif /* defined(__MMI_MULTITAP_ARABIC__) */ 
  306. //PMT START PERSIAN
  307.         #if defined(__MMI_MULTITAP_PERSIAN__)
  308.         case INPUT_TYPE_ALPHANUMERIC_PERSIAN:
  309.             set_multiline_inputbox_mask(0);
  310.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_PERSIAN);
  311.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  312.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  313.             MMI_current_input_mode = INPUT_MODE_MULTITAP_PERSIAN;
  314.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  315.             break;
  316.         #endif 
  317. //PMT END PERSIAN
  318.             /* Norwegian start */
  319.         #if defined(__MMI_MULTITAP_NORWEGIAN__)
  320.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_NORWEGIAN:
  321.             set_multiline_inputbox_mask(0);
  322.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_NORWEGIAN);
  323.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  324.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  325.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_NORWEGIAN;
  326.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  327.             break;
  328.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_NORWEGIAN:
  329.             set_multiline_inputbox_mask(0);
  330.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_NORWEGIAN);
  331.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  332.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  333.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_NORWEGIAN;
  334.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  335.             break;
  336.         #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */ 
  337.         #if defined(__MMI_MULTITAP_SWEDISH__)
  338.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SWEDISH:
  339.             set_multiline_inputbox_mask(0);
  340.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_SWEDISH);
  341.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  342.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  343.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_SWEDISH;
  344.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  345.             break;
  346.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SWEDISH:
  347.             set_multiline_inputbox_mask(0);
  348.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_SWEDISH);
  349.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  350.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  351.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_SWEDISH;
  352.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  353.             break;
  354.         #endif /* defined(__MMI_MULTITAP_SWEDISH__) */ 
  355.         #if defined(__MMI_MULTITAP_CROATIAN__)
  356.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CROATIAN:
  357.             set_multiline_inputbox_mask(0);
  358.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_CROATIAN);
  359.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  360.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  361.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_CROATIAN;
  362.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  363.             break;
  364.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CROATIAN:
  365.             set_multiline_inputbox_mask(0);
  366.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_CROATIAN);
  367.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  368.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  369.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_CROATIAN;
  370.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  371.             break;
  372.         #endif /* defined(__MMI_MULTITAP_CROATIAN__) */ 
  373.         #if defined(__MMI_MULTITAP_ROMANIAN__)
  374.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ROMANIAN:
  375.             set_multiline_inputbox_mask(0);
  376.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_ROMANIAN);
  377.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  378.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  379.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_ROMANIAN;
  380.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  381.             break;
  382.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ROMANIAN:
  383.             set_multiline_inputbox_mask(0);
  384.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_ROMANIAN);
  385.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  386.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  387.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_ROMANIAN;
  388.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  389.             break;
  390.         #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */ 
  391.         #if defined(__MMI_MULTITAP_SLOVENIAN__)
  392.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVENIAN:
  393.             set_multiline_inputbox_mask(0);
  394.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_SLOVENIAN);
  395.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  396.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  397.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_SLOVENIAN;
  398.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  399.             break;
  400.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVENIAN:
  401.             set_multiline_inputbox_mask(0);
  402.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_SLOVENIAN);
  403.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  404.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  405.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_SLOVENIAN;
  406.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  407.             break;
  408.         #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */ 
  409.         #if defined(__MMI_MULTITAP_GREEK__)
  410.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GREEK:
  411.             set_multiline_inputbox_mask(0);
  412.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_GREEK);
  413.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  414.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  415.             MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_GREEK;
  416.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  417.             break;
  418.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GREEK:
  419.             set_multiline_inputbox_mask(0);
  420.             change_multiline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_GREEK);
  421.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  422.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  423.             MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_GREEK;
  424.             wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
  425.             break;
  426.         #endif /* defined(__MMI_MULTITAP_GREEK__) */ 
  427.         #if defined(__MMI_T9__) || defined(__MMI_CSTAR__) || defined(__MMI_ITAP__)     //KP Jerry add "__MMI_CSTAR__" on 2007-4-17
  428.         case INPUT_TYPE_TR_MULTITAP_BOPOMO:
  429.             change_multiline_inputbox_mode(INPUT_MODE_TR_MULTITAP_BOPOMO);
  430.             MMI_current_input_mode = INPUT_MODE_TR_MULTITAP_BOPOMO;
  431.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  432.             wgui_inputbox_information_icon = get_image(WGUI_IME_MULTITAP_BPMF_IMG);
  433.             break;
  434.         case INPUT_TYPE_SM_MULTITAP_PINYIN:
  435.             change_multiline_inputbox_mode(INPUT_MODE_SM_MULTITAP_PINYIN);
  436.             MMI_current_input_mode = INPUT_MODE_SM_MULTITAP_PINYIN;
  437.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  438.             wgui_inputbox_information_icon = get_image(WGUI_IME_MULTITAP_PINYIN_IMG);
  439.             break;
  440.         case INPUT_TYPE_TR_BOPOMO:
  441.             change_multiline_inputbox_mode(INPUT_MODE_TR_BOPOMO);
  442.             MMI_current_input_mode = INPUT_MODE_TR_BOPOMO;
  443.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  444.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_BPMF_IMG);
  445.             break;
  446.         case INPUT_TYPE_SM_PINYIN:
  447.             change_multiline_inputbox_mode(INPUT_MODE_SM_PINYIN);
  448.             MMI_current_input_mode = INPUT_MODE_SM_PINYIN;
  449.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  450.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_PINYIN_IMG);
  451.             break;
  452.         case INPUT_TYPE_TR_STROKE:
  453.             change_multiline_inputbox_mode(INPUT_MODE_TR_STROKE);
  454.             MMI_current_input_mode = INPUT_MODE_TR_STROKE;
  455.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  456.             wgui_inputbox_information_icon = get_image(WGUI_IME_TR_STROKE_IMG);
  457.             break;
  458.         case INPUT_TYPE_SM_STROKE:
  459.             change_multiline_inputbox_mode(INPUT_MODE_SM_STROKE);
  460.             MMI_current_input_mode = INPUT_MODE_SM_STROKE;
  461.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  462.             wgui_inputbox_information_icon = get_image(WGUI_IME_SM_STROKE_IMG);
  463.             break;
  464.         case INPUT_TYPE_SMART_UPPERCASE_ABC:
  465.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ABC);
  466.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ABC;
  467.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  468.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  469.             break;
  470.         case INPUT_TYPE_SMART_LOWERCASE_ABC:
  471.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ABC);
  472.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ABC;
  473.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  474.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  475.             break;
  476.         #if defined (__MMI_T9_THAI__) || defined(__MMI_CSTAR_THAI__)     //KP Jerry add "__MMI_CSTAR_THAI__" on 2007-4-17
  477.         case INPUT_TYPE_SMART_THAI:
  478.             change_multiline_inputbox_mode(INPUT_MODE_SMART_THAI);
  479.             MMI_current_input_mode = INPUT_MODE_SMART_THAI;
  480.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  481.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  482.             break;
  483.         #endif /* defined (__MMI_T9_THAI__) || defined(__MMI_CSTAR_THAI__) */      //KP Jerry add "__MMI_CSTAR_THAI__" on 2007-4-17
  484.         #if defined(__MMI_T9_SPANISH__) || defined(__MMI_CSTAR_SPANISH__)     //KP Jerry add "__MMI_CSTAR_SPANISH__" on 2007-4-17
  485.         case INPUT_TYPE_SMART_UPPERCASE_SPANISH:
  486.             set_multiline_inputbox_mask(0);
  487.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SPANISH);
  488.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  489.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  490.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SPANISH;
  491.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  492.             break;
  493.         case INPUT_TYPE_SMART_LOWERCASE_SPANISH:
  494.             set_multiline_inputbox_mask(0);
  495.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SPANISH);
  496.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  497.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  498.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SPANISH;
  499.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  500.             break;
  501.         #endif /* defined(__MMI_T9_SPANISH__) || defined(__MMI_CSTAR_SPANISH__) */     //KP Jerry add "__MMI_CSTAR_SPANISH__" on 2007-4-17
  502.         #if defined(__MMI_T9_DANISH__) || defined(__MMI_CSTAR_DANISH__)    //KP Jerry add "__MMI_CSTAR_DANISH__" on 2007-4-17
  503.         case INPUT_TYPE_SMART_UPPERCASE_DANISH:
  504.             set_multiline_inputbox_mask(0);
  505.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_DANISH);
  506.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  507.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  508.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DANISH;
  509.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  510.             break;
  511.         case INPUT_TYPE_SMART_LOWERCASE_DANISH:
  512.             set_multiline_inputbox_mask(0);
  513.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_DANISH);
  514.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  515.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  516.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DANISH;
  517.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  518.             break;
  519.         #endif /* defined(__MMI_T9_DANISH__) || defined(__MMI_CSTAR_DANISH__) */     //KP Jerry add "__MMI_CSTAR_DANISH__" on 2007-4-17
  520.         #if defined(__MMI_T9_POLISH__) || defined(__MMI_CSTAR_POLISH__)    //KP Jerry add "__MMI_CSTAR_POLISH__" on 2007-4-17
  521.         case INPUT_TYPE_SMART_UPPERCASE_POLISH:
  522.             set_multiline_inputbox_mask(0);
  523.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_POLISH);
  524.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  525.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  526.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_POLISH;
  527.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  528.             break;
  529.         case INPUT_TYPE_SMART_LOWERCASE_POLISH:
  530.             set_multiline_inputbox_mask(0);
  531.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_POLISH);
  532.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  533.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  534.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_POLISH;
  535.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  536.             break;
  537.         #endif /* defined(__MMI_T9_POLISH__) || defined(__MMI_CSTAR_POLISH__) */   //KP Jerry add "__MMI_CSTAR_POLISH__" on 2007-4-17
  538.         #if defined(__MMI_T9_FRENCH__) || defined(__MMI_CSTAR_FRENCH__)   //KP Jerry add "__MMI_CSTAR_FRENCH__" on 2007-4-17
  539.         case INPUT_TYPE_SMART_UPPERCASE_FRENCH:
  540.             set_multiline_inputbox_mask(0);
  541.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_FRENCH);
  542.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  543.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  544.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FRENCH;
  545.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  546.             break;
  547.         case INPUT_TYPE_SMART_LOWERCASE_FRENCH:
  548.             set_multiline_inputbox_mask(0);
  549.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_FRENCH);
  550.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  551.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  552.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FRENCH;
  553.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  554.             break;
  555.         #endif /* defined(__MMI_T9_FRENCH__) || defined(__MMI_CSTAR_FRENCH__) */    //KP Jerry add "__MMI_CSTAR_FRENCH__" on 2007-4-17
  556.         #if defined(__MMI_T9_GERMAN__) || defined(__MMI_CSTAR_GERMAN__)   //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-17
  557.         case INPUT_TYPE_SMART_UPPERCASE_GERMAN:
  558.             set_multiline_inputbox_mask(0);
  559.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_GERMAN);
  560.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  561.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  562.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GERMAN;
  563.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  564.             break;
  565.         case INPUT_TYPE_SMART_LOWERCASE_GERMAN:
  566.             set_multiline_inputbox_mask(0);
  567.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_GERMAN);
  568.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  569.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  570.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GERMAN;
  571.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  572.             break;
  573.         #endif /* defined(__MMI_T9_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) */    //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-17
  574.         #if defined(__MMI_T9_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__)   //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-17
  575.         case INPUT_TYPE_SMART_UPPERCASE_ITALIAN:
  576.             set_multiline_inputbox_mask(0);
  577.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ITALIAN);
  578.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  579.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  580.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ITALIAN;
  581.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  582.             break;
  583.         case INPUT_TYPE_SMART_LOWERCASE_ITALIAN:
  584.             set_multiline_inputbox_mask(0);
  585.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ITALIAN);
  586.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  587.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  588.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ITALIAN;
  589.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  590.             break;
  591.         #endif /* defined(__MMI_T9_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__) */    //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-17
  592.         #if defined (__MMI_T9_RUSSIAN__) || defined(__MMI_CSTAR_RUSSIAN__)   //KP Jerry add "__MMI_CSTAR_RUSSIAN__" on 2007-4-17
  593.         case INPUT_TYPE_SMART_UPPERCASE_RUSSIAN:
  594.             set_multiline_inputbox_mask(0);
  595.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_RUSSIAN);
  596.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  597.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  598.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_RUSSIAN;
  599.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  600.             break;
  601.         case INPUT_TYPE_SMART_LOWERCASE_RUSSIAN:
  602.             set_multiline_inputbox_mask(0);
  603.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_RUSSIAN);
  604.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  605.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  606.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_RUSSIAN;
  607.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  608.             break;
  609.         #endif /* defined (__MMI_T9_RUSSIAN__) || defined(__MMI_CSTAR_RUSSIAN__) */    //KP Jerry add "__MMI_CSTAR_RUSSIAN__" on 2007-4-17
  610.         #if defined (__MMI_T9_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__)   //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-17
  611.         case INPUT_TYPE_SMART_UPPERCASE_BULGARIAN:
  612.             set_multiline_inputbox_mask(0);
  613.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_BULGARIAN);
  614.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  615.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  616.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_BULGARIAN;
  617.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  618.             break;
  619.         case INPUT_TYPE_SMART_LOWERCASE_BULGARIAN:
  620.             set_multiline_inputbox_mask(0);
  621.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_BULGARIAN);
  622.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  623.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  624.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_BULGARIAN;
  625.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  626.             break;
  627.         #endif /* defined (__MMI_T9_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__) */    //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-17
  628.         #if defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__)   //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-17
  629.         case INPUT_TYPE_SMART_UPPERCASE_INDONESIAN:
  630.             set_multiline_inputbox_mask(0);
  631.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_INDONESIAN);
  632.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  633.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  634.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_INDONESIAN;
  635.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  636.             break;
  637.         case INPUT_TYPE_SMART_LOWERCASE_INDONESIAN:
  638.             set_multiline_inputbox_mask(0);
  639.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_INDONESIAN);
  640.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  641.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  642.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_INDONESIAN;
  643.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  644.             break;
  645.         #endif /* defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) */    //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-17
  646.         #if defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__)   //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-17
  647.         case INPUT_TYPE_SMART_UPPERCASE_VIETNAMESE:
  648.             set_multiline_inputbox_mask(0);
  649.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_VIETNAMESE);
  650.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  651.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  652.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_VIETNAMESE;
  653.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  654.             break;
  655.         case INPUT_TYPE_SMART_LOWERCASE_VIETNAMESE:
  656.             set_multiline_inputbox_mask(0);
  657.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_VIETNAMESE);
  658.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  659.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  660.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_VIETNAMESE;
  661.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  662.             break;
  663.         #endif /* defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) */    //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-17
  664.         #if defined(__MMI_T9_PORTUGUESE__) || defined(__MMI_CSTAR_PORTUGUESE__)   //KP Jerry add "__MMI_CSTAR_PORTUGUESE__" on 2007-4-17
  665.         case INPUT_TYPE_SMART_UPPERCASE_PORTUGUESE:
  666.             set_multiline_inputbox_mask(0);
  667.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_PORTUGUESE);
  668.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  669.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  670.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_PORTUGUESE;
  671.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  672.             break;
  673.         case INPUT_TYPE_SMART_LOWERCASE_PORTUGUESE:
  674.             set_multiline_inputbox_mask(0);
  675.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_PORTUGUESE);
  676.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  677.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  678.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_PORTUGUESE;
  679.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  680.             break;
  681.         #endif /* defined(__MMI_T9_PORTUGUESE__) || defined(__MMI_CSTAR_PORTUGUESE__) */    //KP Jerry add "__MMI_CSTAR_PORTUGUESE__" on 2007-4-17
  682.         #if defined(__MMI_T9_CZECH__) || defined(__MMI_CSTAR_CZECH__)   /* Gurdev 20050713 */   //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-17
  683.         case INPUT_TYPE_SMART_UPPERCASE_CZECH:
  684.             set_multiline_inputbox_mask(0);
  685.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_CZECH);
  686.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  687.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  688.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CZECH;
  689.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  690.             break;
  691.         case INPUT_TYPE_SMART_LOWERCASE_CZECH:
  692.             set_multiline_inputbox_mask(0);
  693.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_CZECH);
  694.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  695.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  696.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CZECH;
  697.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  698.             break;
  699.         #endif /* defined(__MMI_T9_CZECH__) || defined(__MMI_CSTAR_CZECH__) */    //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-17
  700.         #if defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__)   //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-17
  701.         case INPUT_TYPE_SMART_UPPERCASE_TURKISH:
  702.             set_multiline_inputbox_mask(0);
  703.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_TURKISH);
  704.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  705.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  706.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_TURKISH;
  707.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  708.             break;
  709.         case INPUT_TYPE_SMART_LOWERCASE_TURKISH:
  710.             set_multiline_inputbox_mask(0);
  711.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_TURKISH);
  712.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  713.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  714.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_TURKISH;
  715.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  716.             break;
  717.         #endif /* defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) */    //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-17
  718.         #if defined(__MMI_T9_FINNISH__) || defined(__MMI_CSTAR_FINNISH__)    //KP Jerry add "__MMI_CSTAR_FINNISH__" on 2007-4-17
  719.         case INPUT_TYPE_SMART_UPPERCASE_FINNISH:
  720.             set_multiline_inputbox_mask(0);
  721.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_FINNISH);
  722.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  723.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  724.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FINNISH;
  725.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  726.             break;
  727.         case INPUT_TYPE_SMART_LOWERCASE_FINNISH:
  728.             set_multiline_inputbox_mask(0);
  729.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_FINNISH);
  730.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  731.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  732.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FINNISH;
  733.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  734.             break;
  735.         #endif /* defined(__MMI_T9_FINNISH__) || defined(__MMI_CSTAR_FINNISH__) */     //KP Jerry add "__MMI_CSTAR_FINNISH__" on 2007-4-17
  736.         #if defined(__MMI_T9_HUNGARIAN__) || defined(__MMI_CSTAR_HUNGARIAN__)       /* Gurdev 20050713 */    //KP Jerry add "__MMI_CSTAR_HUNGARIAN__" on 2007-4-17
  737.         case INPUT_TYPE_SMART_UPPERCASE_HUNGARIAN:
  738.             set_multiline_inputbox_mask(0);
  739.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_HUNGARIAN);
  740.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  741.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  742.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_HUNGARIAN;
  743.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  744.             break;
  745.         case INPUT_TYPE_SMART_LOWERCASE_HUNGARIAN:
  746.             set_multiline_inputbox_mask(0);
  747.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_HUNGARIAN);
  748.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  749.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  750.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_HUNGARIAN;
  751.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  752.             break;
  753.         #endif /* defined(__MMI_T9_HUNGARIAN__) || defined(__MMI_CSTAR_HUNGARIAN__) */     //KP Jerry add "__MMI_CSTAR_HUNGARIAN__" on 2007-4-17
  754.         #if defined (__MMI_T9_ARABIC__) || defined(__MMI_CSTAR_ARABIC__)    //KP Jerry add "__MMI_CSTAR_ARABIC__" on 2007-4-17
  755.         case INPUT_TYPE_SMART_ARABIC:
  756.             set_multiline_inputbox_mask(0);
  757.             change_multiline_inputbox_mode(INPUT_MODE_SMART_ARABIC);
  758.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  759.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  760.             MMI_current_input_mode = INPUT_MODE_SMART_ARABIC;
  761.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  762.             break;
  763.         #endif /* defined (__MMI_T9_ARABIC__) || defined(__MMI_CSTAR_ARABIC__) */     //KP Jerry add "__MMI_CSTAR_ARABIC__" on 2007-4-17
  764.         #if defined(__MMI_T9_GREEK__) || defined(__MMI_CSTAR_GREEK__)    //KP Jerry add "__MMI_CSTAR_GREEK__" on 2007-4-17
  765.         case INPUT_TYPE_SMART_UPPERCASE_GREEK:
  766.             set_multiline_inputbox_mask(0);
  767.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_GREEK);
  768.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  769.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  770.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GREEK;
  771.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  772.             break;
  773.         case INPUT_TYPE_SMART_LOWERCASE_GREEK:
  774.             set_multiline_inputbox_mask(0);
  775.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_GREEK);
  776.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  777.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  778.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GREEK;
  779.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  780.             break;
  781.         #endif /* defined(__MMI_T9_GREEK__) || defined(__MMI_CSTAR_GREEK__) */     //KP Jerry add "__MMI_CSTAR_GREEK__" on 2007-4-17
  782.         #if defined (__MMI_T9_HEBREW__) || defined(__MMI_CSTAR_HEBREW__)     //KP Jerry add "__MMI_CSTAR_HEBREW__" on 2007-4-17
  783.         case INPUT_TYPE_SMART_HEBREW:
  784.             set_multiline_inputbox_mask(0);
  785.             change_multiline_inputbox_mode(INPUT_MODE_SMART_HEBREW);
  786.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  787.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  788.             MMI_current_input_mode = INPUT_MODE_SMART_HEBREW;
  789.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  790.             break;
  791.         #endif /* defined (__MMI_T9_HEBREW__) || defined(__MMI_CSTAR_HEBREW__) */      //KP Jerry add "__MMI_CSTAR_HEBREW__" on 2007-4-17
  792.         #if defined (__MMI_T9_HINDI__) || defined(__MMI_CSTAR_HINDI__)     //KP Jerry add "__MMI_CSTAR_HINDI__" on 2007-4-17
  793.         case INPUT_TYPE_SMART_HINDI:
  794.             set_multiline_inputbox_mask(0);
  795.             change_multiline_inputbox_mode(INPUT_MODE_SMART_HINDI);
  796.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  797.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  798.             MMI_current_input_mode = INPUT_MODE_SMART_HINDI;
  799.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  800.             break;
  801.         #endif /* defined (__MMI_T9_HINDI__) || defined(__MMI_CSTAR_HINDI__) */      //KP Jerry add "__MMI_CSTAR_HINDI__" on 2007-4-17
  802.         #if defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__)     //KP Jerry add "__MMI_CSTAR_NORWEGIAN__" on 2007-4-17
  803.         case INPUT_TYPE_SMART_UPPERCASE_NORWEGIAN:
  804.             set_multiline_inputbox_mask(0);
  805.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_NORWEGIAN);
  806.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  807.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  808.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_NORWEGIAN;
  809.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  810.             break;
  811.         case INPUT_TYPE_SMART_LOWERCASE_NORWEGIAN:
  812.             set_multiline_inputbox_mask(0);
  813.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_NORWEGIAN);
  814.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  815.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  816.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_NORWEGIAN;
  817.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  818.             break;
  819.         #endif /* defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__) */      //KP Jerry add "__MMI_CSTAR_NORWEGIAN__" on 2007-4-17
  820.         #if defined(__MMI_T9_DUTCH__) || defined(__MMI_CSTAR_DUTCH__)     //KP Jerry add "__MMI_CSTAR_DUTCH__" on 2007-4-17
  821.         case INPUT_TYPE_SMART_UPPERCASE_DUTCH:
  822.             set_multiline_inputbox_mask(0);
  823.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_DUTCH);
  824.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  825.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  826.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DUTCH;
  827.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  828.             break;
  829.         case INPUT_TYPE_SMART_LOWERCASE_DUTCH:
  830.             set_multiline_inputbox_mask(0);
  831.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_DUTCH);
  832.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  833.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  834.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DUTCH;
  835.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  836.             break;
  837.         #endif /* defined(__MMI_T9_DUTCH__) || defined(__MMI_CSTAR_DUTCH__) */      //KP Jerry add "__MMI_CSTAR_DUTCH__" on 2007-4-17
  838.         #if defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__)     //KP Jerry add "__MMI_CSTAR_SLOVENIAN__" on 2007-4-17
  839.         case INPUT_TYPE_SMART_UPPERCASE_SLOVENIAN:
  840.             set_multiline_inputbox_mask(0);
  841.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SLOVENIAN);
  842.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  843.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  844.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVENIAN;
  845.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  846.             break;
  847.         case INPUT_TYPE_SMART_LOWERCASE_SLOVENIAN:
  848.             set_multiline_inputbox_mask(0);
  849.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SLOVENIAN);
  850.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  851.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  852.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVENIAN;
  853.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  854.             break;
  855.         #endif /* defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__) */      //KP Jerry add "__MMI_CSTAR_SLOVENIAN__" on 2007-4-17
  856.         #if defined(__MMI_T9_SWEDISH__) || defined(__MMI_CSTAR_SWEDISH__)     //KP Jerry add "__MMI_CSTAR_SWEDISH__" on 2007-4-17
  857.         case INPUT_TYPE_SMART_UPPERCASE_SWEDISH:
  858.             set_multiline_inputbox_mask(0);
  859.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SWEDISH);
  860.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  861.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  862.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SWEDISH;
  863.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  864.             break;
  865.         case INPUT_TYPE_SMART_LOWERCASE_SWEDISH:
  866.             set_multiline_inputbox_mask(0);
  867.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SWEDISH);
  868.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  869.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  870.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SWEDISH;
  871.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  872.             break;
  873.         #endif /* defined(__MMI_T9_SWEDISH__) || defined(__MMI_CSTAR_SWEDISH__) */      //KP Jerry add "__MMI_CSTAR_SWEDISH__" on 2007-4-17
  874.         #if defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__)     //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-17
  875.         case INPUT_TYPE_SMART_UPPERCASE_MALAY:
  876.             set_multiline_inputbox_mask(0);
  877.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_MALAY);
  878.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  879.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  880.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_MALAY;
  881.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  882.             break;
  883.         case INPUT_TYPE_SMART_LOWERCASE_MALAY:
  884.             set_multiline_inputbox_mask(0);
  885.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_MALAY);
  886.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  887.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  888.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_MALAY;
  889.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  890.             break;
  891.         #endif /* defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) */      //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-17
  892.         #if defined(__MMI_T9_CROATIAN__) || defined(__MMI_CSTAR_CROATIAN__)     //KP Jerry add "__MMI_CSTAR_CROATIAN__" on 2007-4-17
  893.         case INPUT_TYPE_SMART_UPPERCASE_CROATIAN:
  894.             set_multiline_inputbox_mask(0);
  895.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_CROATIAN);
  896.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  897.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  898.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CROATIAN;
  899.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  900.             break;
  901.         case INPUT_TYPE_SMART_LOWERCASE_CROATIAN:
  902.             set_multiline_inputbox_mask(0);
  903.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_CROATIAN);
  904.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  905.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  906.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CROATIAN;
  907.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  908.             break;
  909.         #endif /* defined(__MMI_T9_CROATIAN__) || defined(__MMI_CSTAR_CROATIAN__) */      //KP Jerry add "__MMI_CSTAR_CROATIAN__" on 2007-4-17
  910.         #if defined(__MMI_T9_SLOVAK__) || defined(__MMI_CSTAR_SLOVAK__)     //KP Jerry add "__MMI_CSTAR_SLOVAK__" on 2007-4-17
  911.         case INPUT_TYPE_SMART_UPPERCASE_SLOVAK:
  912.             set_multiline_inputbox_mask(0);
  913.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SLOVAK);
  914.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  915.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  916.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVAK;
  917.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  918.             break;
  919.         case INPUT_TYPE_SMART_LOWERCASE_SLOVAK:
  920.             set_multiline_inputbox_mask(0);
  921.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SLOVAK);
  922.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  923.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  924.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVAK;
  925.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  926.             break;
  927.         #endif /* defined(__MMI_T9_SLOVAK__) || defined(__MMI_CSTAR_SLOVAK__) */      //KP Jerry add "__MMI_CSTAR_SLOVAK__" on 2007-4-17
  928.         #if defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__)     //KP Jerry add "__MMI_CSTAR_ROMANIAN__" on 2007-4-17
  929.         case INPUT_TYPE_SMART_UPPERCASE_ROMANIAN:
  930.             set_multiline_inputbox_mask(0);
  931.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ROMANIAN);
  932.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  933.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  934.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ROMANIAN;
  935.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  936.             break;
  937.         case INPUT_TYPE_SMART_LOWERCASE_ROMANIAN:
  938.             set_multiline_inputbox_mask(0);
  939.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ROMANIAN);
  940.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  941.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  942.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ROMANIAN;
  943.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  944.             break;
  945.         #endif /* defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__) */      //KP Jerry add "__MMI_CSTAR_ROMANIAN__" on 2007-4-17
  946.         #elif defined(__MMI_ZI__)
  947.         case INPUT_TYPE_TR_MULTITAP_BOPOMO:
  948.             change_multiline_inputbox_mode(INPUT_MODE_TR_MULTITAP_BOPOMO);
  949.             MMI_current_input_mode = INPUT_MODE_TR_MULTITAP_BOPOMO;
  950.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  951.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_BPMF_LOGO);
  952.             break;
  953.         case INPUT_TYPE_SM_MULTITAP_PINYIN:
  954.             change_multiline_inputbox_mode(INPUT_MODE_SM_MULTITAP_PINYIN);
  955.             MMI_current_input_mode = INPUT_MODE_SM_MULTITAP_PINYIN;
  956.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  957.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_PINYIN_LOGO);
  958.             break;
  959.         case INPUT_TYPE_TR_BOPOMO:
  960.             change_multiline_inputbox_mode(INPUT_MODE_TR_BOPOMO);
  961.             MMI_current_input_mode = INPUT_MODE_TR_BOPOMO;
  962.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  963.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_BPMF_LOGO);
  964.             break;
  965.         case INPUT_TYPE_SM_PINYIN:
  966.             change_multiline_inputbox_mode(INPUT_MODE_SM_PINYIN);
  967.             MMI_current_input_mode = INPUT_MODE_SM_PINYIN;
  968.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  969.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_PINYIN_LOGO);
  970.             break;
  971.         case INPUT_TYPE_TR_STROKE:
  972.             change_multiline_inputbox_mode(INPUT_MODE_TR_STROKE);
  973.             MMI_current_input_mode = INPUT_MODE_TR_STROKE;
  974.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  975.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_TR_STROKE_LOGO);
  976.             break;
  977.         case INPUT_TYPE_SM_STROKE:
  978.             change_multiline_inputbox_mode(INPUT_MODE_SM_STROKE);
  979.             MMI_current_input_mode = INPUT_MODE_SM_STROKE;
  980.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  981.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_SM_STROKE_LOGO);
  982.             break;
  983.         case INPUT_TYPE_SMART_UPPERCASE_ABC:
  984.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ABC);
  985.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ABC;
  986.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  987.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  988.             break;
  989.         case INPUT_TYPE_SMART_LOWERCASE_ABC:
  990.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ABC);
  991.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ABC;
  992.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  993.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  994.             break;
  995.         case INPUT_TYPE_SMART_THAI:
  996.             change_multiline_inputbox_mode(INPUT_MODE_SMART_THAI);
  997.             MMI_current_input_mode = INPUT_MODE_SMART_THAI;
  998.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  999.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1000.             break;
  1001.         case INPUT_TYPE_SMART_ARABIC:
  1002.             change_multiline_inputbox_mode(INPUT_MODE_SMART_ARABIC);
  1003.             MMI_current_input_mode = INPUT_MODE_SMART_ARABIC;
  1004.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1005.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1006.             break;
  1007.         case INPUT_TYPE_SMART_HINDI:
  1008.             change_multiline_inputbox_mode(INPUT_MODE_SMART_HINDI);
  1009.             MMI_current_input_mode = INPUT_MODE_SMART_HINDI;
  1010.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1011.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1012.             break;
  1013.         case INPUT_TYPE_SMART_HEBREW:
  1014.             change_multiline_inputbox_mode(INPUT_MODE_SMART_HEBREW);
  1015.             MMI_current_input_mode = INPUT_MODE_SMART_HEBREW;
  1016.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1017.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1018.             break;
  1019.         #if defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__)
  1020.         case INPUT_TYPE_SMART_UPPERCASE_SPANISH:
  1021.             set_multiline_inputbox_mask(0);
  1022.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SPANISH);
  1023.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1024.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1025.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SPANISH;
  1026.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1027.             break;
  1028.         case INPUT_TYPE_SMART_LOWERCASE_SPANISH:
  1029.             set_multiline_inputbox_mask(0);
  1030.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SPANISH);
  1031.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1032.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1033.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SPANISH;
  1034.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1035.             break;
  1036.         #endif /* defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__) */ 
  1037.         #if defined(__MMI_ZI_DANISH__)
  1038.         case INPUT_TYPE_SMART_UPPERCASE_DANISH:
  1039.             set_multiline_inputbox_mask(0);
  1040.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_DANISH);
  1041.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1042.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1043.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DANISH;
  1044.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1045.             break;
  1046.         case INPUT_TYPE_SMART_LOWERCASE_DANISH:
  1047.             set_multiline_inputbox_mask(0);
  1048.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_DANISH);
  1049.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1050.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1051.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DANISH;
  1052.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1053.             break;
  1054.         #endif /* defined(__MMI_ZI_DANISH__) */ 
  1055.         #if defined(__MMI_ZI_POLISH__)
  1056.         case INPUT_TYPE_SMART_UPPERCASE_POLISH:
  1057.             set_multiline_inputbox_mask(0);
  1058.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_POLISH);
  1059.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1060.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1061.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_POLISH;
  1062.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1063.             break;
  1064.         case INPUT_TYPE_SMART_LOWERCASE_POLISH:
  1065.             set_multiline_inputbox_mask(0);
  1066.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_POLISH);
  1067.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1068.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1069.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_POLISH;
  1070.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1071.             break;
  1072.         #endif /* defined(__MMI_ZI_POLISH__) */ 
  1073.         #if defined(__MMI_ZI_NORWEGIAN__)
  1074.         case INPUT_TYPE_SMART_UPPERCASE_NORWEGIAN:
  1075.             set_multiline_inputbox_mask(0);
  1076.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_NORWEGIAN);
  1077.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1078.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1079.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_NORWEGIAN;
  1080.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1081.             break;
  1082.         case INPUT_TYPE_SMART_LOWERCASE_NORWEGIAN:
  1083.             set_multiline_inputbox_mask(0);
  1084.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_NORWEGIAN);
  1085.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1086.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1087.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_NORWEGIAN;
  1088.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1089.             break;
  1090.         #endif /* defined(__MMI_ZI_NORWEGIAN__) */ 
  1091.         #if defined(__MMI_ZI_CA_FRENCH__) || defined(__MMI_ZI_EU_FRENCH__)
  1092.         case INPUT_TYPE_SMART_UPPERCASE_FRENCH:
  1093.             set_multiline_inputbox_mask(0);
  1094.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_FRENCH);
  1095.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1096.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1097.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FRENCH;
  1098.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1099.             break;
  1100.         case INPUT_TYPE_SMART_LOWERCASE_FRENCH:
  1101.             set_multiline_inputbox_mask(0);
  1102.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_FRENCH);
  1103.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1104.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1105.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FRENCH;
  1106.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1107.             break;
  1108.         #endif /* defined(__MMI_ZI_CA_FRENCH__) || defined(__MMI_ZI_EU_FRENCH__) */ 
  1109.         #if defined(__MMI_ZI_GERMAN__)
  1110.         case INPUT_TYPE_SMART_UPPERCASE_GERMAN:
  1111.             set_multiline_inputbox_mask(0);
  1112.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_GERMAN);
  1113.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1114.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1115.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GERMAN;
  1116.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1117.             break;
  1118.         case INPUT_TYPE_SMART_LOWERCASE_GERMAN:
  1119.             set_multiline_inputbox_mask(0);
  1120.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_GERMAN);
  1121.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1122.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1123.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GERMAN;
  1124.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1125.             break;
  1126.         #endif /* defined(__MMI_ZI_GERMAN__) */ 
  1127.         #if defined(__MMI_ZI_ITALIAN__)
  1128.         case INPUT_TYPE_SMART_UPPERCASE_ITALIAN:
  1129.             set_multiline_inputbox_mask(0);
  1130.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ITALIAN);
  1131.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1132.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1133.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ITALIAN;
  1134.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1135.             break;
  1136.         case INPUT_TYPE_SMART_LOWERCASE_ITALIAN:
  1137.             set_multiline_inputbox_mask(0);
  1138.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ITALIAN);
  1139.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1140.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1141.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ITALIAN;
  1142.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1143.             break;
  1144.         #endif /* defined(__MMI_ZI_ITALIAN__) */ 
  1145.         #if defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__)
  1146.         case INPUT_TYPE_SMART_UPPERCASE_RUSSIAN:
  1147.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_RUSSIAN);
  1148.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_RUSSIAN;
  1149.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1150.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1151.             break;
  1152.         case INPUT_TYPE_SMART_LOWERCASE_RUSSIAN:
  1153.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_RUSSIAN);
  1154.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_RUSSIAN;
  1155.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1156.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1157.             break;
  1158.         #endif /* defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__) */ 
  1159.         #if defined(__MMI_ZI_BULGARIAN__)
  1160.         case INPUT_TYPE_SMART_UPPERCASE_BULGARIAN:
  1161.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_BULGARIAN);
  1162.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_BULGARIAN;
  1163.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1164.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1165.             break;
  1166.         case INPUT_TYPE_SMART_LOWERCASE_BULGARIAN:
  1167.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_BULGARIAN);
  1168.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_BULGARIAN;
  1169.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1170.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1171.             break;
  1172.         #endif /* defined(__MMI_ZI_BULGARIAN__) */ 
  1173.         #if defined(__MMI_ZI_TURKISH__)
  1174.         case INPUT_TYPE_SMART_UPPERCASE_TURKISH:
  1175.             set_multiline_inputbox_mask(0);
  1176.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_TURKISH);
  1177.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1178.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1179.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_TURKISH;
  1180.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1181.             break;
  1182.         case INPUT_TYPE_SMART_LOWERCASE_TURKISH:
  1183.             set_multiline_inputbox_mask(0);
  1184.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_TURKISH);
  1185.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1186.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1187.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_TURKISH;
  1188.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1189.             break;
  1190.         #endif /* defined(__MMI_ZI_TURKISH__) */ 
  1191.         #if defined(__MMI_ZI_EU_PORTUGUESE__) || defined(__MMI_ZI_SA_PORTUGUESE__) || defined(__MMI_ZI_BZ_PORTUGUESE__)
  1192.         case INPUT_TYPE_SMART_UPPERCASE_PORTUGUESE:
  1193.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_PORTUGUESE);
  1194.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_PORTUGUESE;
  1195.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1196.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1197.             break;
  1198.         case INPUT_TYPE_SMART_LOWERCASE_PORTUGUESE:
  1199.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_PORTUGUESE);
  1200.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_PORTUGUESE;
  1201.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1202.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1203.             break;
  1204.         #endif /* defined(__MMI_ZI_EU_PORTUGUESE__) || defined(__MMI_ZI_SA_PORTUGUESE__) || defined(__MMI_ZI_BZ_PORTUGUESE__) */ 
  1205.         #if defined(__MMI_ZI_INDONESIAN__)
  1206.         case INPUT_TYPE_SMART_UPPERCASE_INDONESIAN:
  1207.             set_multiline_inputbox_mask(0);
  1208.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_INDONESIAN);
  1209.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1210.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1211.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_INDONESIAN;
  1212.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1213.             break;
  1214.         case INPUT_TYPE_SMART_LOWERCASE_INDONESIAN:
  1215.             set_multiline_inputbox_mask(0);
  1216.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_INDONESIAN);
  1217.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1218.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1219.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_INDONESIAN;
  1220.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1221.             break;
  1222.         #endif /* defined(__MMI_ZI_INDONESIAN__) */ 
  1223.         #if defined(__MMI_ZI_MALAY__)
  1224.         case INPUT_TYPE_SMART_UPPERCASE_MALAY:
  1225.             set_multiline_inputbox_mask(0);
  1226.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_MALAY);
  1227.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1228.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1229.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_MALAY;
  1230.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1231.             break;
  1232.         case INPUT_TYPE_SMART_LOWERCASE_MALAY:
  1233.             set_multiline_inputbox_mask(0);
  1234.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_MALAY);
  1235.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1236.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1237.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_MALAY;
  1238.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1239.             break;
  1240.         #endif /* defined(__MMI_ZI_MALAY__) */ 
  1241.         #if defined(__MMI_ZI_VIETNAMESE__)
  1242.         case INPUT_TYPE_SMART_UPPERCASE_VIETNAMESE:
  1243.             set_multiline_inputbox_mask(0);
  1244.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_VIETNAMESE);
  1245.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1246.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1247.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_VIETNAMESE;
  1248.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1249.             break;
  1250.         case INPUT_TYPE_SMART_LOWERCASE_VIETNAMESE:
  1251.             set_multiline_inputbox_mask(0);
  1252.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_VIETNAMESE);
  1253.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1254.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1255.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_VIETNAMESE;
  1256.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1257.             break;
  1258.         #endif /* defined(__MMI_ZI_VIETNAMESE__) */ 
  1259.         #if defined(__MMI_ZI_SLOVAK__)
  1260.         case INPUT_TYPE_SMART_UPPERCASE_SLOVAK:
  1261.             set_multiline_inputbox_mask(0);
  1262.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SLOVAK);
  1263.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1264.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1265.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVAK;
  1266.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1267.             break;
  1268.         case INPUT_TYPE_SMART_LOWERCASE_SLOVAK:
  1269.             set_multiline_inputbox_mask(0);
  1270.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SLOVAK);
  1271.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1272.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1273.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVAK;
  1274.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1275.             break;
  1276.         #endif /* defined(__MMI_ZI_SLOVAK__) */ 
  1277.         #if defined(__MMI_ZI_DUTCH__)
  1278.         case INPUT_TYPE_SMART_UPPERCASE_DUTCH:
  1279.             set_multiline_inputbox_mask(0);
  1280.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_DUTCH);
  1281.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1282.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1283.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DUTCH;
  1284.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1285.             break;
  1286.         case INPUT_TYPE_SMART_LOWERCASE_DUTCH:
  1287.             set_multiline_inputbox_mask(0);
  1288.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_DUTCH);
  1289.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1290.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1291.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DUTCH;
  1292.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1293.             break;
  1294.         #endif /* defined(__MMI_ZI_DUTCH__) */ 
  1295.         #if defined(__MMI_ZI_SWEDISH__)
  1296.         case INPUT_TYPE_SMART_UPPERCASE_SWEDISH:
  1297.             set_multiline_inputbox_mask(0);
  1298.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SWEDISH);
  1299.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1300.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1301.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SWEDISH;
  1302.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1303.             break;
  1304.         case INPUT_TYPE_SMART_LOWERCASE_SWEDISH:
  1305.             set_multiline_inputbox_mask(0);
  1306.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SWEDISH);
  1307.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1308.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1309.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SWEDISH;
  1310.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1311.             break;
  1312.         #endif /* defined(__MMI_ZI_SWEDISH__) */ 
  1313.         #if defined(__MMI_ZI_CROATIAN__)
  1314.         case INPUT_TYPE_SMART_UPPERCASE_CROATIAN:
  1315.             set_multiline_inputbox_mask(0);
  1316.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_CROATIAN);
  1317.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1318.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1319.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CROATIAN;
  1320.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1321.             break;
  1322.         case INPUT_TYPE_SMART_LOWERCASE_CROATIAN:
  1323.             set_multiline_inputbox_mask(0);
  1324.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_CROATIAN);
  1325.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1326.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1327.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CROATIAN;
  1328.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1329.             break;
  1330.         #endif /* defined(__MMI_ZI_CROATIAN__) */ 
  1331.         #if defined(__MMI_ZI_ROMANIAN__)
  1332.         case INPUT_TYPE_SMART_UPPERCASE_ROMANIAN:
  1333.             set_multiline_inputbox_mask(0);
  1334.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ROMANIAN);
  1335.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1336.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1337.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ROMANIAN;
  1338.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1339.             break;
  1340.         case INPUT_TYPE_SMART_LOWERCASE_ROMANIAN:
  1341.             set_multiline_inputbox_mask(0);
  1342.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ROMANIAN);
  1343.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1344.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1345.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ROMANIAN;
  1346.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1347.             break;
  1348.         #endif /* defined(__MMI_ZI_ROMANIAN__) */ 
  1349.         #if defined(__MMI_ZI_SLOVENIAN__)
  1350.         case INPUT_TYPE_SMART_UPPERCASE_SLOVENIAN:
  1351.             set_multiline_inputbox_mask(0);
  1352.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SLOVENIAN);
  1353.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1354.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1355.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVENIAN;
  1356.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1357.             break;
  1358.         case INPUT_TYPE_SMART_LOWERCASE_SLOVENIAN:
  1359.             set_multiline_inputbox_mask(0);
  1360.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SLOVENIAN);
  1361.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1362.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1363.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVENIAN;
  1364.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1365.             break;
  1366.         #endif /* defined(__MMI_ZI_SLOVENIAN__) */ 
  1367.         #if defined(__MMI_ZI_GREEK__)
  1368.         case INPUT_TYPE_SMART_UPPERCASE_GREEK:
  1369.             set_multiline_inputbox_mask(0);
  1370.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_GREEK);
  1371.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1372.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1373.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GREEK;
  1374.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1375.             break;
  1376.         case INPUT_TYPE_SMART_LOWERCASE_GREEK:
  1377.             set_multiline_inputbox_mask(0);
  1378.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_GREEK);
  1379.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1380.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1381.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GREEK;
  1382.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1383.             break;
  1384.         #endif /* defined(__MMI_ZI_GREEK__) */ 
  1385.         #if defined(__MMI_ZI_FINNISH__)
  1386.         case INPUT_TYPE_SMART_UPPERCASE_FINNISH:
  1387.             set_multiline_inputbox_mask(0);
  1388.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_FINNISH);
  1389.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1390.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1391.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FINNISH;
  1392.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1393.             break;
  1394.         case INPUT_TYPE_SMART_LOWERCASE_FINNISH:
  1395.             set_multiline_inputbox_mask(0);
  1396.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_FINNISH);
  1397.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1398.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1399.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FINNISH;
  1400.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1401.             break;
  1402.         #endif /* defined(__MMI_ZI_FINNISH__) */ 
  1403.         #if defined(__MMI_ZI_CZECH__)
  1404.         case INPUT_TYPE_SMART_UPPERCASE_CZECH:
  1405.             set_multiline_inputbox_mask(0);
  1406.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_CZECH);
  1407.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1408.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1409.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CZECH;
  1410.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1411.             break;
  1412.         case INPUT_TYPE_SMART_LOWERCASE_CZECH:
  1413.             set_multiline_inputbox_mask(0);
  1414.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_CZECH);
  1415.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1416.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1417.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CZECH;
  1418.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1419.             break;
  1420.         #endif /* defined(__MMI_ZI_CZECH__) */ 
  1421.         #if defined(__MMI_ZI_HUNGARIAN__)
  1422.         case INPUT_TYPE_SMART_UPPERCASE_HUNGARIAN:
  1423.             set_multiline_inputbox_mask(0);
  1424.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_HUNGARIAN);
  1425.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1426.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1427.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_HUNGARIAN;
  1428.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1429.             break;
  1430.         case INPUT_TYPE_SMART_LOWERCASE_HUNGARIAN:
  1431.             set_multiline_inputbox_mask(0);
  1432.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_HUNGARIAN);
  1433.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1434.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1435.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_HUNGARIAN;
  1436.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1437.             break;
  1438.         #endif /* defined(__MMI_ZI_HUNGARIAN__) */ 
  1439.                     //PERSIAN add by Ailsa start
  1440.         #if defined(__MMI_ZI_PERSIAN__)
  1441.         case INPUT_TYPE_SMART_PERSIAN:
  1442.             set_multiline_inputbox_mask(0);
  1443.             change_multiline_inputbox_mode(INPUT_MODE_SMART_PERSIAN);
  1444.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1445.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1446.             MMI_current_input_mode = INPUT_MODE_SMART_PERSIAN;
  1447.             wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
  1448.             break;
  1449.         #endif /* defined(__MMI_ZI_PERSIAN) */
  1450.             //PERSIAN add by Ailsa end
  1451. //KP Jerry add on 2007-3-8 start
  1452. #elif defined(__MMI_CSTAR__)
  1453.         case INPUT_TYPE_TR_MULTITAP_BOPOMO:
  1454.             change_multiline_inputbox_mode(INPUT_MODE_TR_MULTITAP_BOPOMO);
  1455.             MMI_current_input_mode = INPUT_MODE_TR_MULTITAP_BOPOMO;
  1456.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1457.             wgui_inputbox_information_icon = get_image(WGUI_IME_MULTITAP_BPMF_IMG);
  1458.             break;
  1459.         case INPUT_TYPE_SM_MULTITAP_PINYIN:
  1460.             change_multiline_inputbox_mode(INPUT_MODE_SM_MULTITAP_PINYIN);
  1461.             MMI_current_input_mode = INPUT_MODE_SM_MULTITAP_PINYIN;
  1462.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1463.             wgui_inputbox_information_icon = get_image(WGUI_IME_MULTITAP_PINYIN_IMG);
  1464.             break;
  1465.         case INPUT_TYPE_TR_BOPOMO:
  1466.             change_multiline_inputbox_mode(INPUT_MODE_TR_BOPOMO);
  1467.             MMI_current_input_mode = INPUT_MODE_TR_BOPOMO;
  1468.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1469.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_BPMF_IMG);
  1470.             break;
  1471.         case INPUT_TYPE_SM_PINYIN:
  1472.             change_multiline_inputbox_mode(INPUT_MODE_SM_PINYIN);
  1473.             MMI_current_input_mode = INPUT_MODE_SM_PINYIN;
  1474.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1475.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_PINYIN_IMG);
  1476.             break;
  1477.         case INPUT_TYPE_TR_STROKE:
  1478.             change_multiline_inputbox_mode(INPUT_MODE_TR_STROKE);
  1479.             MMI_current_input_mode = INPUT_MODE_TR_STROKE;
  1480.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1481.             wgui_inputbox_information_icon = get_image(WGUI_IME_TR_STROKE_IMG);
  1482.             break;
  1483.         case INPUT_TYPE_SM_STROKE:
  1484.             change_multiline_inputbox_mode(INPUT_MODE_SM_STROKE);
  1485.             MMI_current_input_mode = INPUT_MODE_SM_STROKE;
  1486.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1487.             wgui_inputbox_information_icon = get_image(WGUI_IME_SM_STROKE_IMG);
  1488.             break;
  1489.         case INPUT_TYPE_SMART_UPPERCASE_ABC:
  1490.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ABC);
  1491.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ABC;
  1492.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1493.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  1494.             break;
  1495.         case INPUT_TYPE_SMART_LOWERCASE_ABC:
  1496.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ABC);
  1497.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ABC;
  1498.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1499.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  1500.             break;
  1501.         case INPUT_TYPE_SMART_UPPERCASE_VIETNAMESE:
  1502.             set_multiline_inputbox_mask(0);
  1503.             change_multiline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_VIETNAMESE);
  1504.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1505.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1506.             MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_VIETNAMESE;
  1507.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  1508.             break;
  1509.         case INPUT_TYPE_SMART_LOWERCASE_VIETNAMESE:
  1510.             set_multiline_inputbox_mask(0);
  1511.             change_multiline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_VIETNAMESE);
  1512.             SetKeyHandler(wgui_handle_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
  1513.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1514.             MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_VIETNAMESE;
  1515.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
  1516.             break;
  1517. //KP Jerry add on 2007-3-8 end
  1518.         #elif defined(__MMI_KA__)
  1519.         case INPUT_TYPE_SM_PINYIN:
  1520.             change_multiline_inputbox_mode(INPUT_MODE_SM_PINYIN);
  1521.             MMI_current_input_mode = INPUT_MODE_SM_PINYIN;
  1522.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1523.             wgui_inputbox_information_icon = get_image(WGUI_IME_SMART_PINYIN_IMG);
  1524.             break;
  1525.         case INPUT_TYPE_SM_STROKE:
  1526.             change_multiline_inputbox_mode(INPUT_MODE_SM_STROKE);
  1527.             MMI_current_input_mode = INPUT_MODE_SM_STROKE;
  1528.             inputbox_change_mode = change_multiline_inputbox_input_mode;
  1529.             wgui_inputbox_information_icon = get_image(WGUI_IME_SM_STROKE_IMG);
  1530.             break;
  1531.         #endif 
  1532.         default:
  1533.             set_multiline_inputbox_mask(0);
  1534.             change_multiline_inputbox_mode(INPUT_MODE_123);
  1535.             MMI_current_input_mode = INPUT_MODE_123;
  1536.             break;
  1537.     }
  1538.     change_multiline_inputbox_mode(MMI_current_input_mode);
  1539.     if (!override_history_input_type && (saved_inputbox_flags & UI_MULTI_LINE_INPUT_BOX_MASK_CHARACTERS))
  1540.     {
  1541.         set_multiline_inputbox_mask(1);
  1542.         if ((saved_input_type & INPUT_TYPE_MASK) != INPUT_TYPE_ALPHANUMERIC_PASSWORD)
  1543.         {
  1544.             ClearKeyHandler(KEY_POUND, KEY_EVENT_DOWN);
  1545.         }
  1546.     }
  1547.     wgui_inputbox_RSK_label_icon = RSK_icon;
  1548.     wgui_inputbox_RSK_label_string = RSK_label;
  1549.     //MTK Terry move to the front for wgui_set_default_input_type
  1550.     //test_change_input_mode=wgui_multiline_inputbox_test_change_input_mode;
  1551.     register_multiline_inputbox_input_callback(wgui_handle_inputbox_input);
  1552.     /* register_multiline_inputbox_navigate_callback(wgui_handle_inputbox_navigate); */
  1553. #if defined(__MMI_TOUCH_SCREEN__) || defined(__MMI_HANDWRITING_PAD__)
  1554.     ext_stroke.x1 = 0;
  1555.     ext_stroke.y1 = 0;
  1556.     ext_stroke.x2 = UI_device_width - 1;
  1557.     ext_stroke.y2 = UI_device_height - 1;
  1558. #if 0
  1559. /* under construction !*/
  1560. /* under construction !*/
  1561. /* under construction !*/
  1562. /* under construction !*/
  1563. #else /* 0 */ 
  1564.     stroke_area.x1 = MMI_content_x;
  1565.     stroke_area.x2 = MMI_content_x + MMI_content_width - MMI_multiline_inputbox.vbar.width;
  1566.     stroke_area.y1 = MMI_title_y;
  1567.     stroke_area.y2 = MMI_title_y + MMI_content_height + MMI_title_height;
  1568. #endif /* 0 */ 
  1569.     /* W06.11 Support E-Dict for Touch Screen */
  1570.     if (category_screen_ID != MMI_CATEGORY201_ID)
  1571.     {
  1572.         mmi_pen_editor_setup_input_box(
  1573.             &stroke_area,
  1574.             &ext_stroke,
  1575.             MMI_current_input_type,
  1576.             MMI_TRUE,
  1577.             PEN_EDITOR_MULTILINE_INPUT_BOX);
  1578.     }
  1579.     else
  1580.     {
  1581.         mmi_pen_editor_setup_input_box(
  1582.             &stroke_area,
  1583.             &ext_stroke,
  1584.             MMI_current_input_type,
  1585.             MMI_TRUE,
  1586.             PEN_EDITOR_DICT_MULTILINE_INPUT_BOX);
  1587.     }
  1588. #endif /* defined(__MMI_TOUCH_SCREEN__) || defined(__MMI_HANDWRITING_PAD__) */ 
  1589.     show_multiline_inputbox_no_draw();
  1590.     UI_UNUSED_PARAMETER(saved_MMI_current_input_mode);
  1591.     UI_UNUSED_PARAMETER(fh);
  1592. }
  1593. /* Simplified interface for wgui_setup_inputbox_ext() */
  1594. /*****************************************************************************
  1595.  * FUNCTION
  1596.  *  wgui_setup_inputbox
  1597.  * DESCRIPTION
  1598.  *  
  1599.  * PARAMETERS
  1600.  *  x                           [IN]        
  1601.  *  y                           [IN]        
  1602.  *  width                       [IN]        
  1603.  *  height                      [IN]        
  1604.  *  buffer                      [?]         
  1605.  *  buffer_size                 [IN]        
  1606.  *  category_screen_ID          [IN]        
  1607.  *  RSK_label                   [IN]        
  1608.  *  RSK_icon                    [IN]        
  1609.  *  input_type                  [IN]        
  1610.  *  history_buffer              [?]         
  1611.  *  information_bar_flag        [IN]        
  1612.  * RETURNS
  1613.  *  void
  1614.  *****************************************************************************/
  1615. void wgui_setup_inputbox(
  1616.         S32 x,
  1617.         S32 y,
  1618.         S32 width,
  1619.         S32 height,
  1620.         U8 *buffer,
  1621.         S32 buffer_size,
  1622.         U16 category_screen_ID,
  1623.         UI_string_type RSK_label,
  1624.         PU8 RSK_icon,
  1625.         U16 input_type,
  1626.         U8 *history_buffer,
  1627.         U8 information_bar_flag)
  1628. {
  1629.     /*----------------------------------------------------------------*/
  1630.     /* Local Variables                                                */
  1631.     /*----------------------------------------------------------------*/
  1632.     /*----------------------------------------------------------------*/
  1633.     /* Code Body                                                      */
  1634.     /*----------------------------------------------------------------*/
  1635.     wgui_setup_inputbox_ext(
  1636.         x,
  1637.         y,
  1638.         width,
  1639.         height,
  1640.         buffer,
  1641.         buffer_size,
  1642.         category_screen_ID,
  1643.         RSK_label,
  1644.         RSK_icon,
  1645.         input_type,
  1646.         history_buffer,
  1647.         information_bar_flag,
  1648.         0,
  1649.         0,
  1650.         0,
  1651.         0,
  1652.         0,
  1653.         NULL);
  1654. }
  1655. /*****************************************************************************
  1656.  * FUNCTION
  1657.  *  wgui_set_RSK
  1658.  * DESCRIPTION
  1659.  *  set RSK function handler of multiline input box
  1660.  * PARAMETERS
  1661.  *  void
  1662.  * RETURNS
  1663.  *  void
  1664.  *****************************************************************************/
  1665. void wgui_set_RSK(void)
  1666. {
  1667.     /*----------------------------------------------------------------*/
  1668.     /* Local Variables                                                */
  1669.     /*----------------------------------------------------------------*/
  1670.     /*----------------------------------------------------------------*/
  1671.     /* Code Body                                                      */
  1672.     /*----------------------------------------------------------------*/
  1673.     wgui_inputbox_RSK_label_clear = 0;
  1674. #if defined(__MMI_WITH_C_KEY__)
  1675.     SetKeyHandler(wgui_handle_inputbox_right_softkey_down, KEY_CLEAR, KEY_EVENT_DOWN);
  1676.     SetKeyHandler(wgui_handle_inputbox_right_softkey_long_press, KEY_CLEAR, KEY_LONG_PRESS);
  1677.     set_right_softkey_function(wgui_handle_inputbox_right_softkey_up, KEY_EVENT_UP);
  1678. #else /* defined(__MMI_WITH_C_KEY__) */ 
  1679.     set_right_softkey_function(wgui_handle_inputbox_right_softkey_down, KEY_EVENT_DOWN);
  1680.     set_right_softkey_function(wgui_handle_inputbox_right_softkey_long_press, KEY_LONG_PRESS);
  1681. #endif /* defined(__MMI_WITH_C_KEY__) */ 
  1682.     //      register_multiline_inputbox_input_callback(wgui_handle_inputbox_input);
  1683.     //      register_multiline_inputbox_navigate_callback(wgui_handle_inputbox_navigate);
  1684.     wgui_handle_inputbox_input();
  1685.     if (multiline_inputbox_empty())
  1686.     {
  1687.     #if defined(__MMI_WITH_C_KEY__)
  1688.         SetKeyHandler(wgui_handle_inputbox_right_softkey_up, KEY_CLEAR, KEY_EVENT_UP);
  1689.         if (wgui_inputbox_empty_callback != NULL)
  1690.         {
  1691.             wgui_inputbox_empty_callback();
  1692.         }
  1693.     #else /* defined(__MMI_WITH_C_KEY__) */ 
  1694.         set_right_softkey_function(wgui_handle_inputbox_right_softkey_up, KEY_EVENT_UP);
  1695.         if (wgui_inputbox_empty_callback != NULL)
  1696.         {
  1697.             wgui_inputbox_empty_callback();
  1698.         }
  1699.     #endif /* defined(__MMI_WITH_C_KEY__) */ 
  1700.     }
  1701.     else if (wgui_inputbox_not_empty_callback != NULL)
  1702.     {
  1703.         wgui_inputbox_not_empty_callback();
  1704.     }
  1705.     MMI_multiline_inputbox.validation_callback = wgui_multiline_inputbox_validation_callback;
  1706.     /* MMI_multiline_inputbox.validation_callback(MMI_multiline_inputbox.text,MMI_multiline_inputbox.cursor_p,MMI_multiline_inputbox.text_length); */
  1707. #ifdef __ASCII
  1708.     MMI_multiline_inputbox.validation_callback(
  1709.                             MMI_multiline_inputbox.text,
  1710.                             MMI_multiline_inputbox.cursor_p,
  1711.                             MMI_multiline_inputbox.text_length - 1);
  1712. #endif /* __ASCII */ 
  1713.     MMI_multiline_inputbox.validation_callback(
  1714.                             MMI_multiline_inputbox.text,
  1715.                             MMI_multiline_inputbox.cursor_p,
  1716.                             (MMI_multiline_inputbox.text_length >> 1) - 1);
  1717. }
  1718. /* MTK end */
  1719. /*****************************************************************************
  1720.  * FUNCTION
  1721.  *  wgui_close_inputbox
  1722.  * DESCRIPTION
  1723.  *  close input box
  1724.  * PARAMETERS
  1725.  *  void
  1726.  * RETURNS
  1727.  *  void
  1728.  *****************************************************************************/
  1729. void wgui_close_inputbox(void)
  1730. {
  1731.     /*----------------------------------------------------------------*/
  1732.     /* Local Variables                                                */
  1733.     /*----------------------------------------------------------------*/
  1734.     /*----------------------------------------------------------------*/
  1735.     /* Code Body                                                      */
  1736.     /*----------------------------------------------------------------*/
  1737.     wgui_multiline_inputbox_decimal_input_mode_flag = 0;
  1738.     wgui_inputbox_handle_multitap_input_complete(WGUI_INPUTBOX_EDIT_MULTITAP_ANY);
  1739.     reset_multiline_inputbox();
  1740.     wgui_inputbox_RSK_function = NULL;
  1741.     wgui_inputbox_RSK_label_clear = 0;
  1742.     wgui_inputbox_information_flag = 0;
  1743.     wgui_inputbox_not_empty_callback = NULL;
  1744.     wgui_inputbox_empty_callback = NULL;
  1745.     wgui_inputbox_validation_callback = NULL;
  1746.     wgui_inputbox_UCS2_count_function = NULL;
  1747.     wgui_inputbox_GSM_ext_count_function = NULL;
  1748.     /* MTK Terry for 0x81 encoding support */
  1749.     //MMI_current_input_ext_type = 0;
  1750.     //MTK Add By Elvis for T9
  1751. #ifdef __MMI_T9__
  1752.     InuptMethodExitCategory5();
  1753. #elif defined __MMI_ZI__
  1754.     ZiInuptMethodExitCategory5();
  1755. //KP Jerry add on 2007-3-8 start
  1756. #elif defined __MMI_CSTAR__
  1757.     CstarInputMethodExitCategory5();
  1758. //KP Jerry add on 2007-3-8 end
  1759. #elif defined __MMI_KA__
  1760.     KonkaInuptMethodExitCategory5();
  1761. #elif defined __MMI_ITAP__
  1762. /* under construction !*/
  1763. /* under construction !*/
  1764. #endif 
  1765.     /* MTK end */
  1766. #if defined(__MMI_TOUCH_SCREEN__) || defined(__MMI_HANDWRITING_PAD__)
  1767.     mmi_pen_editor_close_input_box();
  1768. #endif 
  1769.     if (test_change_input_mode != NULL)
  1770.     {
  1771.         if (test_change_input_mode())
  1772.         {
  1773.             MMI_english_input_mode_flag = 0;
  1774.         }
  1775.         else
  1776.         {
  1777.             MMI_english_input_mode_flag = 1;
  1778.         }
  1779.     }
  1780.     else
  1781.     {
  1782.         MMI_english_input_mode_flag = 0;
  1783.     }
  1784.     if (MMI_allow_only_english_input_modes)
  1785.     {
  1786.         MMI_english_input_mode_flag = 1;
  1787.         MMI_allow_only_english_input_modes = 0;
  1788.     }
  1789.     test_change_input_mode = NULL;
  1790.     ClearKeyHandler(KEY_STAR, KEY_EVENT_DOWN);
  1791.     ClearKeyHandler(KEY_POUND, KEY_EVENT_DOWN);
  1792.     /* W05.36 Fix Vietnamese Tone Input Issue */
  1793.     set_current_input_box_type(EDITOR_NONE_INPUT_BOX);
  1794. }
  1795. /* Common inputbox input method functions */
  1796. /*----------------------------------------------------------------------------
  1797. Function:         wgui_change_inputbox_mode_multitap_ABC
  1798. Description:      A function pointer which stores the address of function
  1799.                which change the input mode of input box to ABC
  1800. Input parameters :   none
  1801. Output Parameters:   none
  1802. Returns:       none
  1803. ----------------------------------------------------------------------------*/
  1804. void (*wgui_change_inputbox_mode_multitap_ABC) (void) = UI_dummy_function;
  1805. /*----------------------------------------------------------------------------
  1806. Function:         wgui_change_inputbox_mode_multitap_abc
  1807. Description:      A function pointer which stores the address of function
  1808.                which change the input mode of input box to abc
  1809. Input parameters :   none
  1810. Output Parameters:   none
  1811. Returns:       none
  1812. ----------------------------------------------------------------------------*/
  1813. void (*wgui_change_inputbox_mode_multitap_abc) (void) = UI_dummy_function;
  1814. /*----------------------------------------------------------------------------
  1815. Function:         wgui_change_inputbox_mode_mode_numeric
  1816. Description:      A function pointer which stores the address of function
  1817.                which change the input mode of input box to numeric
  1818. Input parameters :   none
  1819. Output Parameters:   none
  1820. Returns:       none
  1821. ----------------------------------------------------------------------------*/
  1822. void (*wgui_change_inputbox_mode_mode_numeric) (void) = UI_dummy_function;
  1823. /*----------------------------------------------------------------------------
  1824. Function:         wgui_inputbox_insert_symbol
  1825. Description:      A function pointer which stores the address of function
  1826.                which insert the symbol in input box
  1827. Input parameters :   UI_character_type
  1828. Output Parameters:   none
  1829. Returns:       none
  1830. ----------------------------------------------------------------------------*/
  1831. void (*wgui_inputbox_insert_symbol) (UI_character_type c) = UI_dummy_function_character;
  1832. /* PMT dara added for Multitap thai */
  1833. #if defined(__MMI_MULTITAP_THAI__)
  1834. /*----------------------------------------------------------------------------
  1835. Function:         wgui_change_inputbox_mode_multitap_thai
  1836. Description:      A function pointer which stores the address of function
  1837.                which change the input mode of input box to thai
  1838. Input parameters :   none
  1839. Output Parameters:   none
  1840. Returns:       none
  1841. ----------------------------------------------------------------------------*/
  1842. void (*wgui_change_inputbox_mode_multitap_thai) (void) = UI_dummy_function;
  1843. #endif /* defined(__MMI_MULTITAP_THAI__) */ 
  1844. /* MTK Terry for Spanish French German Italian Russian Turkish Portuguese Indonesian Malay Vietnamese */
  1845. #if defined(__MMI_MULTITAP_SPANISH__)
  1846. /*----------------------------------------------------------------------------
  1847. Function:         wgui_change_inputbox_mode_multitap_SPANISH
  1848. Description:      A function pointer which stores the address of function
  1849.                which change the input mode of input box to SPANISH
  1850. Input parameters :   none
  1851. Output Parameters:   none
  1852. Returns:       none
  1853. ----------------------------------------------------------------------------*/
  1854. void (*wgui_change_inputbox_mode_multitap_SPANISH) (void) = UI_dummy_function;
  1855. /*----------------------------------------------------------------------------
  1856. Function:         wgui_change_inputbox_mode_multitap_spanish
  1857. Description:      A function pointer which stores the address of function
  1858.                which change the input mode of input box to spanish
  1859. Input parameters :   none
  1860. Output Parameters:   none
  1861. Returns:       none
  1862. ----------------------------------------------------------------------------*/
  1863. void (*wgui_change_inputbox_mode_multitap_spanish) (void) = UI_dummy_function;
  1864. #endif /* defined(__MMI_MULTITAP_SPANISH__) */ 
  1865. #if defined(__MMI_T9_SPANISH__) || defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__) || defined(__MMI_CSTAR_SPANISH__)     //KP Jerry add "__MMI_CSTAR_SPANISH__" on 2007-4-17
  1866. /*----------------------------------------------------------------------------
  1867. Function:         wgui_change_inputbox_mode_multitap_SPANISH
  1868. Description:      A function pointer which stores the address of function
  1869.                which change the input mode of input box to SPANISH
  1870. Input parameters :   none
  1871. Output Parameters:   none
  1872. Returns:       none
  1873. ----------------------------------------------------------------------------*/
  1874. void (*wgui_change_inputbox_mode_smart_SPANISH) (void) = UI_dummy_function;
  1875. /*----------------------------------------------------------------------------
  1876. Function:         wgui_change_inputbox_mode_multitap_spanish
  1877. Description:      A function pointer which stores the address of function
  1878.                which change the input mode of input box to spanish
  1879. Input parameters :   none
  1880. Output Parameters:   none
  1881. Returns:       none
  1882. ----------------------------------------------------------------------------*/
  1883. void (*wgui_change_inputbox_mode_smart_spanish) (void) = UI_dummy_function;
  1884. #endif /* defined(__MMI_T9_SPANISH__) || defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__) || defined(__MMI_CSTAR_SPANISH__) */      //KP Jerry add "__MMI_CSTAR_SPANISH__" on 2007-4-17
  1885. /* PMT VIKASG START 20050729 */
  1886. #if defined(__MMI_MULTITAP_DANISH__)
  1887. /*----------------------------------------------------------------------------
  1888. Function:         wgui_change_inputbox_mode_multitap_DANISH
  1889. Description:      A function pointer which stores the address of function
  1890.                which change the input mode of input box to DANISH
  1891. Input parameters :   none
  1892. Output Parameters:   none
  1893. Returns:       none
  1894. ----------------------------------------------------------------------------*/
  1895. void (*wgui_change_inputbox_mode_multitap_DANISH) (void) = UI_dummy_function;
  1896. /*----------------------------------------------------------------------------
  1897. Function:         wgui_change_inputbox_mode_multitap_danish
  1898. Description:      A function pointer which stores the address of function
  1899.                which change the input mode of input box to spanish
  1900. Input parameters :   none
  1901. Output Parameters:   none
  1902. Returns:       none
  1903. ----------------------------------------------------------------------------*/
  1904. void (*wgui_change_inputbox_mode_multitap_danish) (void) = UI_dummy_function;
  1905. #endif /* defined(__MMI_MULTITAP_DANISH__) */ 
  1906. #if defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__) || defined(__MMI_CSTAR_DANISH__)     //KP Jerry add "__MMI_CSTAR_DANISH__" on 2007-4-17
  1907. /*----------------------------------------------------------------------------
  1908. Function:         wgui_change_inputbox_mode_multitap_DANISH
  1909. Description:      A function pointer which stores the address of function
  1910.                which change the input mode of input box to DANISH
  1911. Input parameters :   none
  1912. Output Parameters:   none
  1913. Returns:       none
  1914. ----------------------------------------------------------------------------*/
  1915. void (*wgui_change_inputbox_mode_smart_DANISH) (void) = UI_dummy_function;
  1916. /*----------------------------------------------------------------------------
  1917. Function:         wgui_change_inputbox_mode_multitap_Danish
  1918. Description:      A function pointer which stores the address of function
  1919.                which change the input mode of input box to Danish
  1920. Input parameters :   none
  1921. Output Parameters:   none
  1922. Returns:       none
  1923. ----------------------------------------------------------------------------*/
  1924. void (*wgui_change_inputbox_mode_smart_danish) (void) = UI_dummy_function;
  1925. #endif /* defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__) || defined(__MMI_CSTAR_DANISH__) */      //KP Jerry add "__MMI_CSTAR_DANISH__" on 2007-4-17
  1926. #if defined(__MMI_MULTITAP_POLISH__)
  1927. /*----------------------------------------------------------------------------
  1928. Function:         wgui_change_inputbox_mode_multitap_POLISH
  1929. Description:      A function pointer which stores the address of function
  1930.                which change the input mode of input box to POLISH
  1931. Input parameters :   none
  1932. Output Parameters:   none
  1933. Returns:       none
  1934. ----------------------------------------------------------------------------*/
  1935. void (*wgui_change_inputbox_mode_multitap_POLISH) (void) = UI_dummy_function;
  1936. /*----------------------------------------------------------------------------
  1937. Function:         wgui_change_inputbox_mode_multitap_polish
  1938. Description:      A function pointer which stores the address of function
  1939.                which change the input mode of input box to spanish
  1940. Input parameters :   none
  1941. Output Parameters:   none
  1942. Returns:       none
  1943. ----------------------------------------------------------------------------*/
  1944. void (*wgui_change_inputbox_mode_multitap_polish) (void) = UI_dummy_function;
  1945. #endif /* defined(__MMI_MULTITAP_POLISH__) */ 
  1946. #if defined(__MMI_T9_POLISH__) || defined(__MMI_ZI_POLISH__) || defined(__MMI_CSTAR_POLISH__)     //KP Jerry add "__MMI_CSTAR_POLISH__" on 2007-4-17
  1947. /*----------------------------------------------------------------------------
  1948. Function:         wgui_change_inputbox_mode_multitap_polISH
  1949. Description:      A function pointer which stores the address of function
  1950.                which change the input mode of input box to polISH
  1951. Input parameters :   none
  1952. Output Parameters:   none
  1953. Returns:       none
  1954. ----------------------------------------------------------------------------*/
  1955. void (*wgui_change_inputbox_mode_smart_POLISH) (void) = UI_dummy_function;
  1956. /*----------------------------------------------------------------------------
  1957. Function:         wgui_change_inputbox_mode_multitap_polish
  1958. Description:      A function pointer which stores the address of function
  1959.                which change the input mode of input box to polish
  1960. Input parameters :   none
  1961. Output Parameters:   none
  1962. Returns:       none
  1963. ----------------------------------------------------------------------------*/
  1964. void (*wgui_change_inputbox_mode_smart_polish) (void) = UI_dummy_function;
  1965. #endif /* defined(__MMI_T9_POLISH__) || defined(__MMI_ZI_POLISH__) || defined(__MMI_CSTAR_POLISH__) */      //KP Jerry add "__MMI_CSTAR_POLISH__" on 2007-4-17
  1966. #if defined(__MMI_MULTITAP_FRENCH__)
  1967. /*----------------------------------------------------------------------------
  1968. Function:         wgui_change_inputbox_mode_multitap_FRENCH
  1969. Description:      A function pointer which stores the address of function
  1970.                which change the input mode of input box to FRENCH
  1971. Input parameters :   none
  1972. Output Parameters:   none
  1973. Returns:       none
  1974. ----------------------------------------------------------------------------*/
  1975. void (*wgui_change_inputbox_mode_multitap_FRENCH) (void) = UI_dummy_function;
  1976. /*----------------------------------------------------------------------------
  1977. Function:         wgui_change_inputbox_mode_multitap_french
  1978. Description:      A function pointer which stores the address of function
  1979.                which change the input mode of input box to french
  1980. Input parameters :   none
  1981. Output Parameters:   none
  1982. Returns:       none
  1983. ----------------------------------------------------------------------------*/
  1984. void (*wgui_change_inputbox_mode_multitap_french) (void) = UI_dummy_function;
  1985. #endif /* defined(__MMI_MULTITAP_FRENCH__) */ 
  1986. #if defined(__MMI_T9_FRENCH__) || defined(__MMI_ZI_CA_FRENCH__) || defined(__MMI_ZI_EU_FRENCH__) || defined(__MMI_CSTAR_FRENCH__)     //KP Jerry add "__MMI_CSTAR_FRENCH__" on 2007-4-17
  1987. /*----------------------------------------------------------------------------
  1988. Function:         wgui_change_inputbox_mode_smart_FRENCH
  1989. Description:      A function pointer which stores the address of function
  1990.                which change the input mode of input box to FRENCH
  1991. Input parameters :   none
  1992. Output Parameters:   none
  1993. Returns:       none
  1994. ----------------------------------------------------------------------------*/
  1995. void (*wgui_change_inputbox_mode_smart_FRENCH) (void) = UI_dummy_function;
  1996. /*----------------------------------------------------------------------------
  1997. Function:         wgui_change_inputbox_mode_smart_french
  1998. Description:      A function pointer which stores the address of function
  1999.                which change the input mode of input box to french
  2000. Input parameters :   none
  2001. Output Parameters:   none
  2002. Returns:       none
  2003. ----------------------------------------------------------------------------*/
  2004. void (*wgui_change_inputbox_mode_smart_french) (void) = UI_dummy_function;
  2005. #endif /* defined(__MMI_T9_FRENCH__) || defined(__MMI_ZI_CA_FRENCH__) || defined(__MMI_ZI_EU_FRENCH__) || defined(__MMI_CSTAR_FRENCH__) */      //KP Jerry add "__MMI_CSTAR_FRENCH__" on 2007-4-17
  2006. #if defined(__MMI_MULTITAP_GERMAN__)
  2007. /*----------------------------------------------------------------------------
  2008. Function:         wgui_change_inputbox_mode_multitap_GERMAN
  2009. Description:      A function pointer which stores the address of function
  2010.                which change the input mode of input box to GERMAN
  2011. Input parameters :   none
  2012. Output Parameters:   none
  2013. Returns:       none
  2014. ----------------------------------------------------------------------------*/
  2015. void (*wgui_change_inputbox_mode_multitap_GERMAN) (void) = UI_dummy_function;
  2016. /*----------------------------------------------------------------------------
  2017. Function:         wgui_change_inputbox_mode_multitap_german
  2018. Description:      A function pointer which stores the address of function
  2019.                which change the input mode of input box to german
  2020. Input parameters :   none
  2021. Output Parameters:   none
  2022. Returns:       none
  2023. ----------------------------------------------------------------------------*/
  2024. void (*wgui_change_inputbox_mode_multitap_german) (void) = UI_dummy_function;
  2025. #endif /* defined(__MMI_MULTITAP_GERMAN__) */ 
  2026. #if defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) || defined(__MMI_CSTAR_GERMAN__)     //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-17
  2027. /*----------------------------------------------------------------------------
  2028. Function:         wgui_change_inputbox_mode_smart_GERMAN
  2029. Description:      A function pointer which stores the address of function
  2030.                which change the input mode of input box to GERMAN
  2031. Input parameters :   none
  2032. Output Parameters:   none
  2033. Returns:       none
  2034. ----------------------------------------------------------------------------*/
  2035. void (*wgui_change_inputbox_mode_smart_GERMAN) (void) = UI_dummy_function;
  2036. /*----------------------------------------------------------------------------
  2037. Function:         wgui_change_inputbox_mode_smart_german
  2038. Description:      A function pointer which stores the address of function
  2039.                which change the input mode of input box to german
  2040. Input parameters :   none
  2041. Output Parameters:   none
  2042. Returns:       none
  2043. ----------------------------------------------------------------------------*/
  2044. void (*wgui_change_inputbox_mode_smart_german) (void) = UI_dummy_function;
  2045. #endif /* defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) */      //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-17
  2046. #if defined(__MMI_MULTITAP_ITALIAN__)
  2047. /*----------------------------------------------------------------------------
  2048. Function:         wgui_change_inputbox_mode_multitap_ITALIAN
  2049. Description:      A function pointer which stores the address of function
  2050.                which change the input mode of input box to ITALIAN
  2051. Input parameters :   none
  2052. Output Parameters:   none
  2053. Returns:       none
  2054. ----------------------------------------------------------------------------*/
  2055. void (*wgui_change_inputbox_mode_multitap_ITALIAN) (void) = UI_dummy_function;
  2056. /*----------------------------------------------------------------------------
  2057. Function:         wgui_change_inputbox_mode_multitap_italian
  2058. Description:      A function pointer which stores the address of function
  2059.                which change the input mode of input box to italian
  2060. Input parameters :   none
  2061. Output Parameters:   none
  2062. Returns:       none
  2063. ----------------------------------------------------------------------------*/
  2064. void (*wgui_change_inputbox_mode_multitap_italian) (void) = UI_dummy_function;
  2065. #endif /* defined(__MMI_MULTITAP_ITALIAN__) */ 
  2066. #if defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__)     //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-17
  2067. /*----------------------------------------------------------------------------
  2068. Function:         wgui_change_inputbox_mode_smart_ITALIAN
  2069. Description:      A function pointer which stores the address of function
  2070.                which change the input mode of input box to ITALIAN
  2071. Input parameters :   none
  2072. Output Parameters:   none
  2073. Returns:       none
  2074. ----------------------------------------------------------------------------*/
  2075. void (*wgui_change_inputbox_mode_smart_ITALIAN) (void) = UI_dummy_function;
  2076. /*----------------------------------------------------------------------------
  2077. Function:         wgui_change_inputbox_mode_smart_italian
  2078. Description:      A function pointer which stores the address of function
  2079.                which change the input mode of input box to italian
  2080. Input parameters :   none
  2081. Output Parameters:   none
  2082. Returns:       none
  2083. ----------------------------------------------------------------------------*/
  2084. void (*wgui_change_inputbox_mode_smart_italian) (void) = UI_dummy_function;
  2085. #endif /* defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__) */      //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-17
  2086. #if defined(__MMI_MULTITAP_RUSSIAN__)
  2087. /*----------------------------------------------------------------------------
  2088. Function:         wgui_change_inputbox_mode_multitap_RUSSIAN
  2089. Description:      A function pointer which stores the address of function
  2090.                which change the input mode of input box to RUSSIAN
  2091. Input parameters :   none
  2092. Output Parameters:   none
  2093. Returns:       none
  2094. ----------------------------------------------------------------------------*/
  2095. void (*wgui_change_inputbox_mode_multitap_RUSSIAN) (void) = UI_dummy_function;
  2096. /*----------------------------------------------------------------------------
  2097. Function:         wgui_change_inputbox_mode_multitap_russian
  2098. Description:      A function pointer which stores the address of function
  2099.                which change the input mode of input box to russian
  2100. Input parameters :   none
  2101. Output Parameters:   none
  2102. Returns:       none
  2103. ----------------------------------------------------------------------------*/
  2104. void (*wgui_change_inputbox_mode_multitap_russian) (void) = UI_dummy_function;
  2105. #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */ 
  2106. #if defined (__MMI_T9_RUSSIAN__) || defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__) || defined(__MMI_CSTAR_RUSSIAN__)     //KP Jerry add "__MMI_CSTAR_RUSSIAN__" on 2007-4-17
  2107. /*----------------------------------------------------------------------------
  2108. Function:         wgui_change_inputbox_mode_smart_RUSSIAN
  2109. Description:      A function pointer which stores the address of function
  2110.                which change the input mode of input box to RUSSIAN
  2111. Input parameters :   none
  2112. Output Parameters:   none
  2113. Returns:       none
  2114. ----------------------------------------------------------------------------*/
  2115. void (*wgui_change_inputbox_mode_smart_RUSSIAN) (void) = UI_dummy_function;
  2116. /*----------------------------------------------------------------------------
  2117. Function:         wgui_change_inputbox_mode_smart_russian
  2118. Description:      A function pointer which stores the address of function
  2119.                which change the input mode of input box to russian
  2120. Input parameters :   none
  2121. Output Parameters:   none
  2122. Returns:       none
  2123. ----------------------------------------------------------------------------*/
  2124. void (*wgui_change_inputbox_mode_smart_russian) (void) = UI_dummy_function;
  2125. #endif /* defined (__MMI_T9_RUSSIAN__) || defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__) || defined(__MMI_CSTAR_RUSSIAN__) */      //KP Jerry add "__MMI_CSTAR_RUSSIAN__" on 2007-4-17
  2126. #if defined(__MMI_MULTITAP_BULGARIAN__)
  2127. /*----------------------------------------------------------------------------
  2128. Function:         wgui_change_inputbox_mode_multitap_BULGARIAN
  2129. Description:      A function pointer which stores the address of function
  2130.                which change the input mode of input box to BULGARIAN
  2131. Input parameters :   none
  2132. Output Parameters:   none
  2133. Returns:       none
  2134. ----------------------------------------------------------------------------*/
  2135. void (*wgui_change_inputbox_mode_multitap_BULGARIAN) (void) = UI_dummy_function;
  2136. /*----------------------------------------------------------------------------
  2137. Function:         wgui_change_inputbox_mode_multitap_bulgarian
  2138. Description:      A function pointer which stores the address of function
  2139.                which change the input mode of input box to bulgarian
  2140. Input parameters :   none
  2141. Output Parameters:   none
  2142. Returns:       none
  2143. ----------------------------------------------------------------------------*/
  2144. void (*wgui_change_inputbox_mode_multitap_bulgarian) (void) = UI_dummy_function;
  2145. #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */ 
  2146. #if defined (__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__)     //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-17
  2147. /*----------------------------------------------------------------------------
  2148. Function:         wgui_change_inputbox_mode_smart_BULGARIAN
  2149. Description:      A function pointer which stores the address of function
  2150.                which change the input mode of input box to BULGARIAN
  2151. Input parameters :   none
  2152. Output Parameters:   none
  2153. Returns:       none
  2154. ----------------------------------------------------------------------------*/
  2155. void (*wgui_change_inputbox_mode_smart_BULGARIAN) (void) = UI_dummy_function;
  2156. /*----------------------------------------------------------------------------
  2157. Function:         wgui_change_inputbox_mode_smart_bulgarian
  2158. Description:      A function pointer which stores the address of function
  2159.                which change the input mode of input box to bulgarian
  2160. Input parameters :   none
  2161. Output Parameters:   none
  2162. Returns:       none
  2163. ----------------------------------------------------------------------------*/
  2164. void (*wgui_change_inputbox_mode_smart_bulgarian) (void) = UI_dummy_function;
  2165. #endif /* defined (__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__) */      //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-17
  2166. #if defined(__MMI_MULTITAP_TURKISH__)
  2167. /*----------------------------------------------------------------------------
  2168. Function:         wgui_change_inputbox_mode_multitap_TURKISH
  2169. Description:      A function pointer which stores the address of function
  2170.                which change the input mode of input box to TURKISH
  2171. Input parameters :   none
  2172. Output Parameters:   none
  2173. Returns:       none
  2174. ----------------------------------------------------------------------------*/
  2175. void (*wgui_change_inputbox_mode_multitap_TURKISH) (void) = UI_dummy_function;
  2176. /*----------------------------------------------------------------------------
  2177. Function:         wgui_change_inputbox_mode_multitap_turkish
  2178. Description:      A function pointer which stores the address of function
  2179.                which change the input mode of input box to turkish
  2180. Input parameters :   none
  2181. Output Parameters:   none
  2182. Returns:       none
  2183. ----------------------------------------------------------------------------*/
  2184. void (*wgui_change_inputbox_mode_multitap_turkish) (void) = UI_dummy_function;
  2185. #endif /* defined(__MMI_MULTITAP_TURKISH__) */ 
  2186. #if defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__)      //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-17
  2187. /*----------------------------------------------------------------------------
  2188. Function:         wgui_change_inputbox_mode_smart_TURKISH
  2189. Description:      A function pointer which stores the address of function
  2190.                which change the input mode of input box to TURKISH
  2191. Input parameters :   none
  2192. Output Parameters:   none
  2193. Returns:       none
  2194. ----------------------------------------------------------------------------*/
  2195. void (*wgui_change_inputbox_mode_smart_TURKISH) (void) = UI_dummy_function;
  2196. /*----------------------------------------------------------------------------
  2197. Function:         wgui_change_inputbox_mode_smart_turkish
  2198. Description:      A function pointer which stores the address of function
  2199.                which change the input mode of input box to turkish
  2200. Input parameters :   none
  2201. Output Parameters:   none
  2202. Returns:       none
  2203. ----------------------------------------------------------------------------*/
  2204. void (*wgui_change_inputbox_mode_smart_turkish) (void) = UI_dummy_function;
  2205. #endif /* defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) */       //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-17
  2206. #if defined(__MMI_MULTITAP_PORTUGUESE__)
  2207. /*----------------------------------------------------------------------------
  2208. Function:         wgui_change_inputbox_mode_multitap_PORTUGUESE
  2209. Description:      A function pointer which stores the address of function
  2210.                which change the input mode of input box to PORTUGUESE
  2211. Input parameters :   none
  2212. Output Parameters:   none
  2213. Returns:       none
  2214. ----------------------------------------------------------------------------*/
  2215. void (*wgui_change_inputbox_mode_multitap_PORTUGUESE) (void) = UI_dummy_function;
  2216. /*----------------------------------------------------------------------------
  2217. Function:         wgui_change_inputbox_mode_multitap_portuguese
  2218. Description:      A function pointer which stores the address of function
  2219.                which change the input mode of input box to portuguese
  2220. Input parameters :   none
  2221. Output Parameters:   none
  2222. Returns:       none
  2223. ----------------------------------------------------------------------------*/
  2224. void (*wgui_change_inputbox_mode_multitap_portuguese) (void) = UI_dummy_function;
  2225. #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */ 
  2226. #if defined(__MMI_T9_PORTUGUESE__) || defined(__MMI_ZI_EU_PORTUGUESE__) || defined(__MMI_ZI_SA_PORTUGUESE__) || defined(__MMI_ZI_BZ_PORTUGUESE__) || defined(__MMI_CSTAR_PORTUGUESE__)      //KP Jerry add "__MMI_CSTAR_PORTUGUESE__" on 2007-4-17
  2227. /*----------------------------------------------------------------------------
  2228. Function:         wgui_change_inputbox_mode_smart_PORTUGUESE
  2229. Description:      A function pointer which stores the address of function
  2230.                which change the input mode of input box to PORTUGUESE
  2231. Input parameters :   none
  2232. Output Parameters:   none
  2233. Returns:       none
  2234. ----------------------------------------------------------------------------*/
  2235. void (*wgui_change_inputbox_mode_smart_PORTUGUESE) (void) = UI_dummy_function;
  2236. /*----------------------------------------------------------------------------
  2237. Function:         wgui_change_inputbox_mode_smart_portuguese
  2238. Description:      A function pointer which stores the address of function
  2239.                which change the input mode of input box to portuguese
  2240. Input parameters :   none
  2241. Output Parameters:   none
  2242. Returns:       none
  2243. ----------------------------------------------------------------------------*/
  2244. void (*wgui_change_inputbox_mode_smart_portuguese) (void) = UI_dummy_function;
  2245. #endif /* defined(__MMI_T9_PORTUGUESE__) || defined(__MMI_ZI_EU_PORTUGUESE__) || defined(__MMI_ZI_SA_PORTUGUESE__) || defined(__MMI_ZI_BZ_PORTUGUESE__) || defined(__MMI_CSTAR_PORTUGUESE__) */      //KP Jerry add "__MMI_CSTAR_PORTUGUESE__" on 2007-4-17 
  2246. #if defined(__MMI_MULTITAP_HINDI__)
  2247. /*----------------------------------------------------------------------------
  2248. Function:         wgui_change_inputbox_mode_multitap_HINDI
  2249. Description:      A function pointer which stores the address of function
  2250.                which change the input mode of input box to HINDI
  2251. Input parameters :   none
  2252. Output Parameters:   none
  2253. Returns:       none
  2254. ----------------------------------------------------------------------------*/
  2255. void (*wgui_change_inputbox_mode_multitap_HINDI) (void) = UI_dummy_function;
  2256. #endif /* defined(__MMI_MULTITAP_HINDI__) */ 
  2257. /* PMT RAKESH START 20061006 */
  2258. #if defined(__MMI_MULTITAP_MARATHI__)
  2259. /*----------------------------------------------------------------------------
  2260. Function:         wgui_change_inputbox_mode_multitap_MARATHI
  2261. Description:      A function pointer which stores the address of function
  2262.                which change the input mode of input box to MARATHI
  2263. Input parameters :   none
  2264. Output Parameters:   none
  2265. Returns:       none
  2266. ----------------------------------------------------------------------------*/
  2267. void (*wgui_change_inputbox_mode_multitap_MARATHI) (void) = UI_dummy_function;
  2268. #endif /* defined(__MMI_MULTITAP_MARATHI__) */ 
  2269. /* PMT RAKESH END 20061006 */
  2270. #if defined(__MMI_MULTITAP_INDONESIAN__)
  2271. /*----------------------------------------------------------------------------
  2272. Function:         wgui_change_inputbox_mode_multitap_INDONESIAN
  2273. Description:      A function pointer which stores the address of function
  2274.                which change the input mode of input box to INDONESIAN
  2275. Input parameters :   none
  2276. Output Parameters:   none
  2277. Returns:       none
  2278. ----------------------------------------------------------------------------*/
  2279. void (*wgui_change_inputbox_mode_multitap_INDONESIAN) (void) = UI_dummy_function;
  2280. /*----------------------------------------------------------------------------
  2281. Function:         wgui_change_inputbox_mode_multitap_indonesian
  2282. Description:      A function pointer which stores the address of function
  2283.                which change the input mode of input box to indonesian
  2284. Input parameters :   none
  2285. Output Parameters:   none
  2286. Returns:       none
  2287. ----------------------------------------------------------------------------*/
  2288. void (*wgui_change_inputbox_mode_multitap_indonesian) (void) = UI_dummy_function;
  2289. #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */ 
  2290. #if defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__)      //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-17
  2291. /*----------------------------------------------------------------------------
  2292. Function:         wgui_change_inputbox_mode_smart_INDONESIAN
  2293. Description:      A function pointer which stores the address of function
  2294.                which change the input mode of input box to INDONESIAN
  2295. Input parameters :   none
  2296. Output Parameters:   none
  2297. Returns:       none
  2298. ----------------------------------------------------------------------------*/
  2299. void (*wgui_change_inputbox_mode_smart_INDONESIAN) (void) = UI_dummy_function;
  2300. /*----------------------------------------------------------------------------
  2301. Function:         wgui_change_inputbox_mode_smart_indonesian
  2302. Description:      A function pointer which stores the address of function
  2303.                which change the input mode of input box to indonesian
  2304. Input parameters :   none
  2305. Output Parameters:   none
  2306. Returns:       none
  2307. ----------------------------------------------------------------------------*/
  2308. void (*wgui_change_inputbox_mode_smart_indonesian) (void) = UI_dummy_function;
  2309. #endif /* defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) */       //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-17
  2310. #if defined(__MMI_MULTITAP_CZECH__)
  2311. /*----------------------------------------------------------------------------
  2312. Function:         wgui_change_inputbox_mode_multitap_CZECH
  2313. Description:      A function pointer which stores the address of function
  2314.                which change the input mode of input box to CZECH
  2315. Input parameters :   none
  2316. Output Parameters:   none
  2317. Returns:       none
  2318. ----------------------------------------------------------------------------*/
  2319. void (*wgui_change_inputbox_mode_multitap_CZECH) (void) = UI_dummy_function;
  2320. /*----------------------------------------------------------------------------
  2321. Function:         wgui_change_inputbox_mode_multitap_czech
  2322. Description:      A function pointer which stores the address of function
  2323.                which change the input mode of input box to czech
  2324. Input parameters :   none
  2325. Output Parameters:   none
  2326. Returns:       none
  2327. ----------------------------------------------------------------------------*/
  2328. void (*wgui_change_inputbox_mode_multitap_czech) (void) = UI_dummy_function;
  2329. #endif /* defined(__MMI_MULTITAP_CZECH__) */ 
  2330. #if defined(__MMI_ZI_CZECH__) || defined(__MMI_T9_CZECH__) || defined(__MMI_CSTAR_CZECH__)      //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-17
  2331. /*----------------------------------------------------------------------------
  2332. Function:         wgui_change_inputbox_mode_smart_CZECH
  2333. Description:      A function pointer which stores the address of function
  2334.                which change the input mode of input box to CZECH
  2335. Input parameters :   none
  2336. Output Parameters:   none
  2337. Returns:       none
  2338. ----------------------------------------------------------------------------*/
  2339. void (*wgui_change_inputbox_mode_smart_CZECH) (void) = UI_dummy_function;
  2340. /*----------------------------------------------------------------------------
  2341. Function:         wgui_change_inputbox_mode_smart_czech
  2342. Description:      A function pointer which stores the address of function
  2343.                which change the input mode of input box to czech
  2344. Input parameters :   none
  2345. Output Parameters:   none
  2346. Returns:       none
  2347. ----------------------------------------------------------------------------*/
  2348. void (*wgui_change_inputbox_mode_smart_czech) (void) = UI_dummy_function;
  2349. #endif /* defined(__MMI_ZI_CZECH__) || defined(__MMI_T9_CZECH__) || defined(__MMI_CSTAR_CZECH__) */       //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-17
  2350. #if defined(__MMI_MULTITAP_MALAY__)
  2351. /*----------------------------------------------------------------------------
  2352. Function:         wgui_change_inputbox_mode_multitap_MALAY
  2353. Description:      A function pointer which stores the address of function
  2354.                which change the input mode of input box to MALAY
  2355. Input parameters :   none
  2356. Output Parameters:   none
  2357. Returns:       none
  2358. ----------------------------------------------------------------------------*/
  2359. void (*wgui_change_inputbox_mode_multitap_MALAY) (void) = UI_dummy_function;
  2360. /*----------------------------------------------------------------------------
  2361. Function:         wgui_change_inputbox_mode_multitap_malay
  2362. Description:      A function pointer which stores the address of function
  2363.                which change the input mode of input box to malay
  2364. Input parameters :   none
  2365. Output Parameters:   none
  2366. Returns:       none
  2367. ----------------------------------------------------------------------------*/
  2368. void (*wgui_change_inputbox_mode_multitap_malay) (void) = UI_dummy_function;
  2369. #endif /* defined(__MMI_MULTITAP_MALAY__) */ 
  2370. #if defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__)      //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-17
  2371. /*----------------------------------------------------------------------------
  2372. Function:         wgui_change_inputbox_mode_smart_MALAY
  2373. Description:      A function pointer which stores the address of function
  2374.                which change the input mode of input box to MALAY
  2375. Input parameters :   none
  2376. Output Parameters:   none
  2377. Returns:       none
  2378. ----------------------------------------------------------------------------*/
  2379. void (*wgui_change_inputbox_mode_smart_MALAY) (void) = UI_dummy_function;
  2380. /*----------------------------------------------------------------------------
  2381. Function:         wgui_change_inputbox_mode_smart_malay
  2382. Description:      A function pointer which stores the address of function
  2383.                which change the input mode of input box to malay
  2384. Input parameters :   none
  2385. Output Parameters:   none
  2386. Returns:       none
  2387. ----------------------------------------------------------------------------*/
  2388. void (*wgui_change_inputbox_mode_smart_malay) (void) = UI_dummy_function;
  2389. #endif /* defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) */       //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-17
  2390. #if defined(__MMI_MULTITAP_VIETNAMESE__)
  2391. /*----------------------------------------------------------------------------
  2392. Function:         wgui_change_inputbox_mode_multitap_VIETNAMESE
  2393. Description:      A function pointer which stores the address of function
  2394.                which change the input mode of input box to VIETNAMESE
  2395. Input parameters :   none
  2396. Output Parameters:   none
  2397. Returns:       none
  2398. ----------------------------------------------------------------------------*/
  2399. void (*wgui_change_inputbox_mode_multitap_VIETNAMESE) (void) = UI_dummy_function;
  2400. /*----------------------------------------------------------------------------
  2401. Function:         wgui_change_inputbox_mode_multitap_vietnamese
  2402. Description:      A function pointer which stores the address of function
  2403.                which change the input mode of input box to vietnamese
  2404. Input parameters :   none
  2405. Output Parameters:   none
  2406. Returns:       none
  2407. ----------------------------------------------------------------------------*/
  2408. void (*wgui_change_inputbox_mode_multitap_vietnamese) (void) = UI_dummy_function;
  2409. #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */ 
  2410. #if defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__)      //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-17
  2411. /*----------------------------------------------------------------------------
  2412. Function:         wgui_change_inputbox_mode_smart_VIETNAMESE
  2413. Description:      A function pointer which stores the address of function
  2414.                which change the input mode of input box to VIETNAMESE
  2415. Input parameters :   none
  2416. Output Parameters:   none
  2417. Returns:       none
  2418. ----------------------------------------------------------------------------*/
  2419. void (*wgui_change_inputbox_mode_smart_VIETNAMESE) (void) = UI_dummy_function;
  2420. /*----------------------------------------------------------------------------
  2421. Function:         wgui_change_inputbox_mode_smart_vietnamese
  2422. Description:      A function pointer which stores the address of function
  2423.                which change the input mode of input box to vietnamese
  2424. Input parameters :   none
  2425. Output Parameters:   none
  2426. Returns:       none
  2427. ----------------------------------------------------------------------------*/
  2428. void (*wgui_change_inputbox_mode_smart_vietnamese) (void) = UI_dummy_function;
  2429. #endif /* defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) */       //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-17
  2430. #if defined(__MMI_MULTITAP_FINNISH__)
  2431. /*----------------------------------------------------------------------------
  2432. Function:         wgui_change_inputbox_mode_multitap_FINNISH
  2433. Description:      A function pointer which stores the address of function
  2434.                which change the input mode of input box to FINNISH
  2435. Input parameters :   none
  2436. Output Parameters:   none
  2437. Returns:       none
  2438. ----------------------------------------------------------------------------*/
  2439. void (*wgui_change_inputbox_mode_multitap_FINNISH) (void) = UI_dummy_function;
  2440. /*----------------------------------------------------------------------------
  2441. Function:         wgui_change_inputbox_mode_multitap_finnish
  2442. Description:      A function pointer which stores the address of function
  2443.                which change the input mode of input box to finnish
  2444. Input parameters :   none
  2445. Output Parameters:   none
  2446. Returns:       none
  2447. ----------------------------------------------------------------------------*/
  2448. void (*wgui_change_inputbox_mode_multitap_finnish) (void) = UI_dummy_function;
  2449. #endif /* defined(__MMI_MULTITAP_FINNISH__) */ 
  2450. #if defined(__MMI_T9_FINNISH__) || defined(__MMI_ZI_FINNISH__) || defined(__MMI_CSTAR_FINNISH__)      //KP Jerry add "__MMI_CSTAR_FINNISH__" on 2007-4-17
  2451. /*----------------------------------------------------------------------------
  2452. Function:         wgui_change_inputbox_mode_multitap_FINNISH
  2453. Description:      A function pointer which stores the address of function