Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the meaning of client coordinates in SetWindowPos

The documentation for SetWindowPos says the following for the X and Y parameters:

X [in]

Type: int

The new position of the left side of the window, in client coordinates.

Y [in]

Type: int

The new position of the top of the window, in client coordinates.

By "client coordinates", does it mean that the parameters specify the position of the client area of the window, or that they specify the position of the window (not the client area) relative to the parent window's client area? Or something else?


1 Answers

It's your second proposition: The position of the window in its parent's client area.

like image 128
Serge Wautier Avatar answered Oct 21 '25 07:10

Serge Wautier



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!