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

MTK

开发平台:

C/C++

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