Posts by daveb4

    Hi Sven,

    thanks you very much for your answer. Sorry about the wrong thread title - it should be : STM32H747 Discovery STemWin Button ......

    I checked the GUI_PID_STATE structure members. Everything is fine - Pressed is 1 ,when pressed, and 0 when not pressed. The problem seems to appear in the ID and NCode values which are delivered to my DLG.c File. With the Keil Debugger I checked the values directly here:

    Code
    case WM_NOTIFY_PARENT:
        Id    = WM_GetId(pMsg->hWinSrc);
        NCode = pMsg->Data.v;
        id_value = Id;
        n_value = NCode;

    But there is no info in the PDF about the meaning of this values in the manual.
    If I start the app id_value = 801 and n_value = 8
    If I click my button id_value = 801 and n_value = 1
    If I release my button id_value = 801 and n_value = 2
    I added a checkbox, the id = 803 and n_values click/release like the button
    I added a slider the id = 805, n_values click/release like the button, n_value for value_changed = 5

    After program start the button appears visually unpressed. After the first click the visual appearance of the Button is as well inverted.

    My impression is - from the moment on, when I click any element on the screen something happens to the Ncode values and/or ID values. The STemWin Version is 5.44, the CubeMX is the newest (1.7).

    Regards
    Dave

    Hello,

    I modified the STemWin(5.44) Font example from the Discovery H747 Cube Examples (version 1.7.0) and made a simple screen with one Button and one text element. The Button, if pressed displays a different text (not pressed = "Disc H747", pressed = "Hello").

    Problem: The button functions WM_NOTIFICATION_RELEASED and WM_NOTIFICATION_CLICKED are inverted. (not pressed = "Hello", pressed = "Disc H747"). If I put my text the other way round everything works.

    I did the same modification with the Discovery F746 examples (from the Discovery F746Cube Examples) - there is no problem. Has anyone a solution for this problem? Thanks in advance,
    Dave

    Hello,

    in my application (using STemWin 5.40 and Window Manager) I need a graph to display various waveforms.

    I construct the initial graph with NULL Data and add 192 Points with GRAPH_DATA_YT_AddValue. This works fine. But when I update the graph with GRAPH_DATA_YT_AddValue (using WM_Timer) the app freezes immediately. If I declare GRAPH_DATA_Handle hData as static (Line 155) the app runs for 1 - 20 secs and freezes. I suppose a wrong declaration or a memory problem.

    By the way, what is the best way to do complex real time calculations in the background without loosing the quick touch response of the Windows Manager?

    Thank you very much in advance for help!

    Dave