Hi
The code before export is as follows.
Display All
The code after export is as follows
Display All
My file encoding is utf8.How to solve this problem.
Thanks!
The code before export is as follows.
Source Code
- void ID_SCREEN_LEARN__ID_SWITCH_MODE1__WM_NOTIFICATION_VALUE_CHANGED_0(APPW_ACTION_ITEM * pAction, WM_HWIN hScreen, WM_MESSAGE * pMsg, int * pResult) {
- GUI_USE_PARA(pAction);
- GUI_USE_PARA(hScreen);
- GUI_USE_PARA(pMsg);
- GUI_USE_PARA(pResult);
- int siwtchState = SWITCH_GetState(WM_GetDialogItem(WM_HBKWIN, ID_SWITCH_MODE1));
- printf("switch 1 toggle val:%d\n", siwtchState);
- if (siwtchState)
- { //learn mode
- TEXT_SetText(WM_GetDialogItem(WM_HBKWIN, ID_TEXT_WORKMODE1), "学习模式");
- } else { //work mode
- TEXT_SetText(WM_GetDialogItem(WM_HBKWIN, ID_TEXT_WORKMODE1), "工作模式");
- }
- }
Source Code
- void ID_SCREEN_LEARN__ID_SWITCH_MODE1__WM_NOTIFICATION_VALUE_CHANGED_0(APPW_ACTION_ITEM * pAction, WM_HWIN hScreen, WM_MESSAGE * pMsg, int * pResult) {
- GUI_USE_PARA(pAction);
- GUI_USE_PARA(hScreen);
- GUI_USE_PARA(pMsg);
- GUI_USE_PARA(pResult);
- int siwtchState = SWITCH_GetState(WM_GetDialogItem(WM_HBKWIN, ID_SWITCH_MODE1));
- printf("switch 1 toggle val:%d\n", siwtchState);
- if (siwtchState)
- { //learn mode
- TEXT_SetText(WM_GetDialogItem(WM_HBKWIN, ID_TEXT_WORKMODE1), "?-|?1??��????");
- } else { //work mode
- TEXT_SetText(WM_GetDialogItem(WM_HBKWIN, ID_TEXT_WORKMODE1), "?????????????�?");
- }
- }
Thanks!