Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
image not always found
#2
This is strange:
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:
Code:
Copy      Help
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)