ClientHeight() dosen't return correct value

Archives Forums/BlitzPlus Bug Reports/ClientHeight() dosen't return correct value

Space Fractal(Posted 2006) [#1]
I have a problem with ClientHeight(), wich return a higher value as it should. How can I set a new window position (using user32), without using width and hieght cords (like SetWindow hWND,x,y)?

Here is the code, that reproduce the bug:




[EDIT]
A workaround was to make a purebasic dll function and reposition that window. In the purebasic dll connected it to user32.dll with SetWindowPos function.
[/EDIT]