UPDATEDIALOG* gUpdateDialog;
void Meter(void)
{
currentWindow = GUI_CreateDialogBox(_aDialogCreate, GUI_COUNTOF(_aDialogCreate), &_cbCallback, 0, 0, 0);
gUpdateDialog = AllUpdate;
clientDlg = WM_GetClientWindow(currentWindow);
}
void AllUpdate(void){
WM_HWIN vItem;
WM_SelectWindow(clientDlg);
GUI_SetTextMode(GUI_TM_NORMAL);
vItem = WM_GetDialogItem(clientDlg,ID_LISTBOX_1);
EDIT_SetText(vItem,"123"); //不添加屏是好的,添加了点屏没反应
}
|