OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Fred Tomke on April 10, 2008, 07:58:41 AM

Title: Close method and GetRectangle method
Post by: Fred Tomke on April 10, 2008, 07:58:41 AM
Hello,

is there anybody who can reproduce that the left and top coordinates of close method are not the same as the left and top coordinates returned by GetRectangle method (I do not mean GetControlArea method)?

Using Vista Business OEM

Fred
Title: Re: Close method and GetRectangle method
Post by: owenwengerd on April 10, 2008, 05:18:37 PM
GetRectangle returns coordinates in the parent window's client coordinate system, and Close returns coordinates in the screen coordinate system. If the AutoCAD main window is maximized, this would mean the coordinate systems are identical for e.g. modal dialogs, but if the AutoCAD main window is not maximized, the coordinate systems would be different.
Title: Re: Close method and GetRectangle method
Post by: Fred Tomke on April 10, 2008, 10:20:15 PM
Ah, good to know. We should describe this in the intelligent help.

Thanks.

Fred