Search Results

Search results 1-15 of 15.

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

  • ProgBar - Fill bar

    Pieter Eggermont - - emWin related

    Post

    Hi Florian, Agreed that my code example above was not the best of its kind.. Was just to have a working demo Beside the inValidate call that I was missing, I also setted your code structure and works like a charm! Thanks!

  • ProgBar - Fill bar

    Pieter Eggermont - - emWin related

    Post

    I have found the solution. After I was setting the value of the progress bar, I should also trigger WM_InvalidateWindow. Works fine now! Source Code (2 lines)

  • ProgBar - Fill bar

    Pieter Eggermont - - emWin related

    Post

    Hi, My progress bar is filling strange .. You can see the progress bar running in the movie (uploaded via YouTube): ProgBar Movie or check the image (progab_filling_strange.png) below C Source Code (38 lines) In my Paint function of the active Window, I loop over 0 - 100% to set the progress bar as demo. Source Code (8 lines) Any idea why the progress bar is filling to strangly? At 50% it fills OK .. When I set it on a fixed value, it can draw the progress bar OK. See image (progbar.png)below. w…

  • GUI_TIMER_Create

    Pieter Eggermont - - emWin related

    Post

    Hi, I have different windows (multiple pages system) so using a window timer is no option for me. It works now because I defined the time before the main loop once. When I than restart the timer this is working. The case that was not working is deleting a timer variable and re-init it afterwards again. This seems an EmWin related issue?

  • GUI_TIMER_Create

    Pieter Eggermont - - emWin related

    Post

    ok have new results ... What I did on second log in, I've deleted the timer and re-inited it again. this was not working properly in the second time I try to use that timer.. I now init it once, set the time period and just use the restart when I need that timer again and this seems to work just fine. But my issue remains, still strange when deleting a timer and re-init it again, that this is not working?

  • Hi, What also could be happening is that the full text is indeed visibile at init but after drawing that text, another widget is drawn over the position of the chars '89abc' . When adding those chars in the PAINT or EDIT or other function after INIT, you overdraw that space again with the '89abc' text

  • GUI_TIMER_Create

    Pieter Eggermont - - emWin related

    Post

    Hi, I'm creating an access code window. When entering the correct code, I start a timer which will go off after 60 seconds when no key press was done so the logged in user is logged out again. when entering the code I create following timer: C Source Code (1 line) Sometimes it works fine the first time. The timer goes off and is logging me out. When I try to log in a second time, I'm directly routed to my callback function.. It does not wait the 60 seconds C Source Code (4 lines) I've read the m…

  • Quote from LexaGb: “Hello, to remove the progress value from the bar just call this with the empty string value: PROGBAR_SetText(hProg, ""). Alex. ” worked! thanks

  • Quote from SEGGER - Schoenen: “Another way to change the look of the widgets is to overwrite their callback function or set a skinning/owner-draw function (if available). ” I have trobubles setting those settings. I do not manage to edit a progress bar with a SKIN. MEaning changing the text color of the progress percentage. In fact I want to remove that text by doing PROGBAR_SetText(hProg, NULL); but this has no effect. Any help in this?

  • I've found a work around. I've created 3 columns in my listView, and played with the content placing negative, so I could move it to the left, outside the defined column width. should be a nice feature, to define a style class on a listview row

  • Hi, The parameter values are updated every second .. so the left side (parameter name, text) is still the same, but the value (right side) can be different.. So I need a system in the paint, where I can check in my one column, where is my parameter name and where is my parameter value? So I know how I can update only the value

  • Hi Alex, Thanks for the support in my issue. The window I want to create got 2 different Row styles, each 2 columns but with different content. As you can see one row style got left small icon and right a text. Depending on the amount of "warnings" or "faults" (orange rows) the other row style must start. This is a big text on the left side and a value on the right side. In the complete list I need to be able to scroll by pressing a button up or down. I think I will give it a try to set up one c…

  • STM32F7XX

    Pieter Eggermont - - emWin related

    Post

    We had indeed a duplicate Case closed

  • Would it be possible to have, in a listview, 2 different styles on the rows? I mean, one row with an icon and text -> different column width definitions and the other row with other column definitions? See attachment for a better view of what I mean

  • STM32F7XX

    Pieter Eggermont - - emWin related

    Post

    We are using the EmWin library on our embedded project. In our application, we're defining STM32F730xx but we see that STM32F750xx is also defined. We are sure that in our application we do not define STM32F750xx. Could someone tell us if STM32F750xx is defined by EmWIn or its libraries? We are confident that in our project, that is using EmWin, STM32F750xx is not defined. So something is defining the STM32F750xx but the location is unknown to us. Could this define STM32F750xx be somewhere in Em…