Pieter Eggermont Beginner

  • Member since Feb 25th 2019
Last Activity

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

  • Pieter Eggermont -

    Replied to the thread ProgBar - Fill bar.

    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! :D :D :D
  • Pieter Eggermont -

    Replied to the thread ProgBar - Fill bar.

    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)
  • Pieter Eggermont -

    Posted the thread ProgBar - Fill bar.

    Thread
    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,…
  • Pieter Eggermont -

    Replied to the thread GUI_TIMER_Create.

    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…
  • Pieter Eggermont -

    Replied to the thread GUI_TIMER_Create.

    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…
  • Pieter Eggermont -

    Replied to the thread Widget Edit display unexpected length string.

    Post
    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,…
  • Pieter Eggermont -

    Posted the thread GUI_TIMER_Create.

    Thread
    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…
  • Pieter Eggermont -

    Replied to the thread PROGBAR doesn't change colors.

    Post
    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 :)
  • Pieter Eggermont -

    Replied to the thread PROGBAR doesn't change colors.

    Post
    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…
  • Pieter Eggermont -

    Replied to the thread LISTVIEW - different styles.

    Post
    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 :)
  • Pieter Eggermont -

    Replied to the thread LISTVIEW - different styles.

    Post
    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…
  • Pieter Eggermont -

    Replied to the thread LISTVIEW - different styles.

    Post
    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…
  • Pieter Eggermont -

    Replied to the thread STM32F7XX.

    Post
    We had indeed a duplicate :) Case closed :)
  • Pieter Eggermont -

    Posted the thread LISTVIEW - different styles.

    Thread
    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 :)