Windows procedure SetWRect not working correctly on Windows
Andis Blicāns, Grasko
7-18-24
Operating system: Windows
Hi,

I think this has been for decades in HAL. Or may be I do not understand properly something.
So decided to ask here.
HAL primitive description on web says:

procedure SetWRect(integer x,integer y,integer w,integer h)

Description:
sets size and location for window

Parameters:
x    left upper corner - horisontal coordinate
y    left upper corner - vertical coordinate
w    width of window
h    height of window

When I try to change x, y coordinates, then left upper corner is not changing it's possition.
Instead the window size is changing in some strange way.
Even with AutoSizeWindow(false) the left upper corner position can not be changed.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Kevin Stepper
Hi, years ago we used to have the email and conference module. Did not need it so we dropped it. We hav recently implemented global users, which are all named users and therefor seem to need a m...
18:07 3 Aug 2026
Andis Blicāns, Grasko
Hello! Does anyone have a complete list of parameters that can be used in the "parameters.txt" file? If so, I would be grateful if you could send them to me at andis.blicans@gmail.com...
15:04 2 Aug 2026