HideWindow Function Not Working for IMAGE Widget

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

    • HideWindow Function Not Working for IMAGE Widget

      Hi,

      I've got a IMAGE widget that I'm wanted to show/hide on the fly.

      I give the function call 'ShowWindow' the 'IMAGE_Handle' of the widget and it appears no problem.

      However when i give the function 'HideWindow' the same argument it doesn't hide the widget and the image still remains on the screen.

      Any ideas why this is happening or a better method to achieve this?

      Thanks,

      Henry
    • Hi,

      try to call GUI_Exec() after hiding the IMAGE widget.

      This should cause the background to be redrawn.

      Regards,
      Sven
      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.