TD6.0 and up (incl TD7.0 UPD1)
When a window is created as child on another form (
SalCreateWindowEx) and that child window is then moved around using
VisWinMove, very strange visuals happen.
VisWinMovedoes not only move the child window but also the parent form canvas.
An example says more than words:
See that the parent form is like copied into the place where the child window is created.
Funny is that you can really use the parent window there. The normal parent window seems to be locked.
In fact the form gets unusable. When you resize the parent screen all objects are repainted and then the form can be used again.
SetWindowPos(WinApi function) to move the child window or using the Sal functions, the window moves correctly without these issues.
Attached is the testcase:
(in TD42 format to show that it works like expected on that version and on TD6.x and up is does not. I have not checked TD 5.x)