xref: /aoo41x/main/vcl/os2/howto.txt (revision cdf0e10c)
1
2VCL positioning
3
4Window coordinates are parent relative, with exception of maState fields, they
5have screen coordinates.
6
7Every window has a parent window, usually the client area of an existing window,
8otherwise the desktop window.
9
10When a window is to be sized/moved, SetPosSize is called.
11Since coordinates are the position/size of client area, we need to calculate
12current window frame size/position and map to screen coordinates using the
13owner window position as offset.
14