Hello, I am from a Chinese electronics enthusiast.
In the process of using emWin encountered a puzzle can not be solved, I hope to get guidance.
【question】I created a new window (child window) when the button(which is the widget of the dialog box)pressed . now want to use the LISTVIEW widget(in the parent window) in the child window, and now I can't get the LISTVIEW widget Handle in the child window. How can I solve this? hItem = WM_GetDialogItem(pMsg->hWin, GUI_ID_LISTVIEW1); cannot function
thank you very much!
In the process of using emWin encountered a puzzle can not be solved, I hope to get guidance.
【question】I created a new window (child window) when the button(which is the widget of the dialog box)pressed . now want to use the LISTVIEW widget(in the parent window) in the child window, and now I can't get the LISTVIEW widget Handle in the child window. How can I solve this? hItem = WM_GetDialogItem(pMsg->hWin, GUI_ID_LISTVIEW1); cannot function
thank you very much!
The post was edited 1 time, last by 34555162: 【problem have been solved】First get parent window(dialog box) handle hWinPicture = GUI_CreateDialogBox,second use the handle in the child window hItem = WM_GetDialogItem(hWinPicture, GUI_ID_LISTVIEW1); ().