i'm using c# example to build my own .net application. what i have noticed is a bug with selection rectangle (e.g. when you zoom window the view), that rectangle disappears when mouse stops. after few hours of digging i came to the following:
in my code on mouse move
1. case ActionState::ViewZoomWindow:
2. case ActionState::ViewZoomWindow:
for (int i = 0; i DrawRect(e->X, e->Y);
rectangle shows! notice new extra line with dummy cycle. i can only suggest that call to Redraw is somehow paralleled and it cunsumes all changes made to the vieport in a short period after actual function call... though it looks a bit weird.. (another way to make rectangle to show is to duplicate DrawRect call several times). whatever the resason i ran out of ideas how to fix it..
p.s. another strange thing is that this flickering seems only appears in c# example, other samples have no such bug.