Close method and GetRectangle method

Started by Fred Tomke, April 10, 2008, 07:58:41 AM

Previous topic - Next topic

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

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.

Fred Tomke

Ah, good to know. We should describe this in the intelligent help.

Thanks.

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]