Button over a graph

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

    • Hi,

      Did you create the button as a child window of the graph? Otherwise the graph can cover the button widget.

      Also, the WM_CF_SHOW flag should be passed, so that the button widget is visible. Below is an example call of BUTTON_CreateEx():

      C Source Code

      1. BUTTON_CreateEx(0, 0, 50, 50, hGraph, WM_CF_SHOW, 0, GUI_ID_BUTTON0);

      Best regards,
      Florian
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.