Declaration (see MWindow.h):
Returns the current position of the window in parent window's coordinates, including floating/embedded state.
Return type: MPoint
getPos() is functionally equivalent to getRect().p1(), including the premature finalizing and the default value for closed windows (see getRect), but using getPos is better (not to mention more convenient), because the "missing repaint" mechanism relies on it (see Moved for explanation of this mechanism).
Let us know
Please Contact us to report any errors on this page, or to suggest any improvements.