In Stringray grid, there is the ability to use a transparent background which allows the background of the dialog to be shown through the grid.
In the documentation it states:
But be careful; you should disable scrolling or you have to redraw the grid each time it is scrolled (by overriding
DoScroll
).
I have a scrollable gird and override the DoScroll
and make sure I call Redraw
and also tried Invalidate
, however the grid is still not completely erasing and redrawing.
I also tried using the old drawing method by setting m_bForceOldDrawing
to TRUE
.
How can I create a grid that has a transparent background that paint correctly after a scroll without leaving artifacts?