Thanks for your reply GaryTexmo..
But calling Invalidate() in MouseDown event is not sufficient in WinCe environment [ Atleast in my case where i am trying paint specific region [rect] on a panel control ]. Because call to OnPaint by the Invalidate() will be ignored as soon i get MouseUp event.
I fixed this issue by forcing the paint by calling Update() in MouseDown event which will force immediate paint of invalidated...
User Profile
Collapse
-
OnPaint is missng between MouseDown and MouseUp (C# Compact framework)
Hello All,
I am working with Device Application( Compact framework) C#
I have a class which creates grid with numbers on it some thing like shown below
------------
| 1 | 2 | 3 |
------------
| 4 | 5 | 6 |
------------
| 7 | 8 | 9 |
------------
| 0 |
------------
Each cell is Rectangle object ( Rectangle array drawn on...
No activity results to display
Show More
Leave a comment: