Search Results

Search results 1-9 of 9.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Attached call stack at thee moment of the crash and the code i'm using to execute the speedo and the menu.

  • Can I use WM_IsWindow() as a flag if I'm understanding? By the way the crash consists in touchscreen being unresponsive so after GUI_enddialog I call my swipelist menu but I can't interact with it. As for the call stack I will check. I'm concerned if having "x" dialogs chained between them and every one with its loop (when needed) is possible. Let me know if You have any clue on that. Thank you.

  • Ok that's clear. I used an example ( dialog count) and it works. The problem now is another. I'm trying to stop that dialog and start another (swipelist dialog, which is the menu of this project). When i press the button, well after releasing the button I set a flag = 1 so that the code of mainscreen stops executing and then with GUI_EndDialog I close the dialog to start the swipelist. I can see swipelist on the screen but the program hangs. What route should I follow logically speaking? Virtual…

  • I'm trying to update a constant value got from an hall sensor and converted with sprintf to be shown with a text widget. In which loop am I supposed to pass the updating string? Gui init Thread one?

  • SWIPELIST and Iconview problem

    rochi2211 - - emWin related

    Post

    Quote from rochi2211: “I've not been able to succed in my purpouse, the only thing that makes this work is commenting out GUI_EndDialog(hWin, 0); in case WM_NOTIFICATION_RELEASED: hItem = WM_GetDialogItem(pMsg->hWin, ID_SWIPELIST_0); ItemIndex = SWIPELIST_GetReleasedItem(hItem); if (ItemIndex == 1) { //GUI_EndDialog(hWin, 0); //GUI_CreateDialogBox(_aDialogCreate2, GUI_COUNTOF(_aDialogCreate2), _cbDialog2, WM_HBKWIN, 0, 0); CreateSplash(); } Will I run out of memory?” Attached the rearranged code…

  • SWIPELIST and Iconview problem

    rochi2211 - - emWin related

    Post

    I've not been able to succed in my purpouse, the only thing that makes this work is commenting out GUI_EndDialog(hWin, 0); in case WM_NOTIFICATION_RELEASED: hItem = WM_GetDialogItem(pMsg->hWin, ID_SWIPELIST_0); ItemIndex = SWIPELIST_GetReleasedItem(hItem); if (ItemIndex == 1) { //GUI_EndDialog(hWin, 0); //GUI_CreateDialogBox(_aDialogCreate2, GUI_COUNTOF(_aDialogCreate2), _cbDialog2, WM_HBKWIN, 0, 0); CreateSplash(); } Will I run out of memory?

  • SWIPELIST and Iconview problem

    rochi2211 - - emWin related

    Post

    I'm really struggling to get this working... is there any prticoular function , routine or way to go from a screen to another in swipelist?Quote from SEGGER - Schoenen: “Hi, I'm not sure if I really understood the problem. But I changed your code a little bit which makes it possible to navigate through some menus. Now you can click on the first SWIPELIST entry and can navigate to the menu where all entries are named 'c'. On a click on the back 'Button' you get back to the previous screen. Some t…

  • Thank you for the fast response. I compiled everything and flashed i have still the same problem as before because it hangs after touching the first element of swipelist. Can you point me at the changes you made? What would you use to switch screen the way my program is structured? Thank you.

  • SWIPELIST and Iconview problem

    rochi2211 - - emWin related

    Post

    Hello everyone, I'm using stemwin on a stm32f746ng disco board to develop a motorcycle computer. So I started coding the Menù using the function SWIPELIST. the structure is the following: SPLASHSCREEN-->SPEEDOMETER INTERFACE--> MENU LEVEL 1-->2-->3 Now the problem is relative to swipelist menu. I used as template the menustruct example. If in speedometer interface i press a butto gui ends and starts menu. In menu I have an iconview that stops gui and bring me back to speedo and this works. Press…