PDA

View Full Version : Flickering when Dialogs are placed on the grid.



Paresh
05-15-2008, 10:32 PM
Hi,

We are using Stingray Objective Grid. We are placing dialogs on the rows of grid. Each dialog covers more than one row. When dialogs are visible there is lot of flickering seen.

How could I avoid this flickering ?

Any help would be highly appreciated.

Regards,
Paresh.
________
VAPORIZER (http://vaporizer.org/)

CodeMonkey
06-02-2008, 07:51 AM
Are your dialogs derived from CGXGridWnd or CGXGridView or are they ActiveX controls within each cell? When do you see this flickering, i.e. on resize, on cell focus, etc.? Also, the flicker could be caused by frequent updates of the grid data. To fix this, you could use some drawing techniques, for example, draw to memory first (virtual grid), pass certain parameters so that the grid will delay the update of the window, block your update code in a pair of LockUpdate(..) calls, etc.

Paresh
06-02-2008, 09:12 PM
Thank you very much for your reply.

I have removed the grid from my application, as it was preventing me from doing lots of stuff with these embedded dialogs in cells.

Regards,
Paresh.
________
Suzuki Boulevard S83 (http://www.cyclechaos.com/wiki/Suzuki_Boulevard_S83)