07-26-2017, 02:57 PM
This is strange:
Now I have 2 ideas:
1. Maybe the window somehow does not correctly repaint. Try to repaint it before:
2. Try to add flag 0x1000 or 0x100. If already is, try to remove.
Quote:I can temporarily fix the problem by resizing the target window and then setting back the correct dimensions.
Now I have 2 ideas:
1. Maybe the window somehow does not correctly repaint. Try to repaint it before:
int w=win(...)
InvalidateRect w 0 1; UpdateWindow w
scan ...
;If you use not scan but wait, try to use scan now just to see how it works with window repainting. For wait S will need a different repainting code.
2. Try to add flag 0x1000 or 0x100. If already is, try to remove.