emWin Mouse

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

  • emWin Mouse

    Dear All

    I used your sample program "DIALOG_ALL.c" with mouse activated, when I move the mouse across the TFT screen it deletes the background, I tried other sample and they show the same behavior. I tried several callback function with WM_MOUSEOVER message and Invalidate function, but it is very slow to redraw the entire screen on every mouse move. I am not using OS, therefore I used to call the GUI_Exec() function on an infinite while loop in the main() function.

    any suggestion or working sample is highly appreciated.

    Best regards :P
  • Hi,

    emWin automatically redraws the part of the background which is just uncovered by the sprite while moving, so you will never have to invalidate any window by yourself.

    This behavior sounds like a hardware or driver problem. Please make sure your driver supports reading of the display data which is required by sprites.

    Best Regards,
    Adrian