JanBurg Beginner

  • Member since Mar 14th 2019
Last Activity

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

  • JanBurg -

    Replied to the thread Widgets on top of GRAPH disappear when using slider.

    Post
    Remark to the GRAPH with child widgets: I noticed that before I can close the dialog window with GUI_EndDialog(pMsg->hWin, 0), I have to delete the GRAPH using WM_DeleteWindow(hGraph). If I don't delete the GRAPH before ending the dialog I get a hardware…
  • JanBurg -

    Replied to the thread Widgets on top of GRAPH disappear when using slider.

    Post
    Hi Florian, thank you. It works. Jan
  • JanBurg -

    Replied to the thread Widgets on top of GRAPH disappear when using slider.

    Post
    There is still one problem remaining. I use GRAPH with a horizontal scrollbar (added with GRAPH_SetAutoScrollbar). Touching the scrollbar causes a WM_NOTIFY_PARENT event. Is the scrollbar a child of the GRAPH? What is its ID? I have to distinguish…
  • JanBurg -

    Replied to the thread Widgets on top of GRAPH disappear when using slider.

    Post
    I think I found the answer myself. I added WM_SetCallback(hGraph, _cbGraph) to WM_INIT_DIALOG of my main window. This redirects messages from all child widgets of GRAPH to the callback routine _cbGraph which again sends them to my main window.
  • JanBurg -

    Replied to the thread Widgets on top of GRAPH disappear when using slider.

    Post
    Hi Florian, thank you for your answer. I understand that I need a separate callback for the GRAPH. However, I'm not completely familiar with the callback mechanism. I have lots of references to the GRAPH in my main callback, like filling in data,…
  • JanBurg -

    Replied to the thread Widgets on top of GRAPH disappear when using slider.

    Post
    Thank you, Alex. I made the buttons to child widgets of the diagram, as you suggested, and now they remain visible. But the GRAPH widget does not seem to give notifications (there aren't any mentioned in the manual). I think that's why also the buttons…
  • JanBurg -

    Posted the thread Widgets on top of GRAPH disappear when using slider.

    Thread
    Hi, I have a GRAPH with horizontal slider. There are some buttons in the graph area. Each time I move the slider these buttons disappear behind the graph. As a workaround I used WM_BringToTop to make them visible again but this is not very elegant. Is…