WM_NOTIFICATION_RELEASED being sent multiple times

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

    • WM_NOTIFICATION_RELEASED being sent multiple times

      I have an ICONVIEW and a BUTTON being hosted on a WINDOW. When I click on an ICON, I receive multiple messages with WM_NOTIFICATION_RELEASED.

      I am using the ICONVIEW as a navigation item, and it causes my navigation to be unreliable. Any suggestions for why this might be happening? I believe that I implemented my touch screen properly.

      Thanks,
      Mathew Grabau
    • Hi,

      Not sure what is causing this behavior.

      First I would double check the touch and make sure that there is only one up event for every down event.

      Do you also get a press message before the second release?

      Are the values of the pMsg member the same?

      pMsg->hWin - receiver of the message
      pMsg->hWinSrc - sender of the message
      pMsg->Data.v/p - union with additional data, not always used
      pMsg->MsgId - obviously always the same

      Check if the members have always the same values. If e.g. hWinSrc changes there is another widget sending the message.

      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.