Board index » cppbuilder » Re: TDrawGrid in BCB5 - Sensible Display Update
Remy Lebeau (TeamB)
![]() CBuilder Developer |
Re: TDrawGrid in BCB5 - Sensible Display Update2005-04-30 07:13:56 AM cppbuilder91 "Stephen R. Phillips" < XXXX@XXXXX.COM >wrote in message Quoteif I change the data in the array, what is a sensible way to QuoteWhat I have now causes some 'sparkle' effects in the TDrawGrid view. QuoteHowever I would prefer it to just redraw what changed. Is this possible? whole. Use the grid's CellRect() method and the Win32 API InvalidateRect() function. QuoteI believe the sparkle affect is a result of how fast I am updating single paint request is posted to the grid's window and all invalidated areas are drawn at one time. Gambit |