STemWin and Cursor Invalidation
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-08-17 10:41 PM
Posted on August 18, 2014 at 07:41
Hi,
I have a problem with touchscreen cursor:When I move my finger on the touchscreen, although the cursor follows me, it remains its trace on the LCD. As if I'm drawing something, like in a Paint program. My deduction is that the cursor movement does not invalidate area it has been, so emWin does not redraw that area. I added:WM_InvalidateArea(&myrect);to the codes, myrect being a rect which covers around where cursor has been. But still there would be traces left uncleaned if I move the cursor fast.What am I doing wrong? Isn't cursor trace clean up an automatic function?Thanks,Ali
0 REPLIES 0
