display-dialog / popup-confirmer and :x and :y arguments on Windows
Hi everyone,
it seems to me that display-dialog and popup-confirmer ignore the :x and :y arguments on windows when displaying any dialog with an interface as its owner, regardless of :position-relative-to arguments or other arguments. The only way I can find to make :x and :y have any effect is to pass a screen as the dialog owner. Otherwise all dialogs are shown centered on the current screen. Is this the intended behavior, or am I doing something wrong here?
E.g. on LispWorks 6.1.1 Pro 32bit on Windows 7:
(capi:display-dialog (capi:make-container (make-instance 'capi:text-input-pane)) :x 50 :y 150)
in the listener produces a centered dialog, only
(capi:display-dialog (capi:make-container (make-instance 'capi:text-input-pane)) :x 50 :y 150 :owner (capi:convert-to-screen))
produces something where x and y have an effect.
Thanks in advance for any input on this,
Pierre.
--
Pierre R. Mai <pmai@pmsf.de>
PMSF IT Consulting Pierre R. Mai http://www.pmsf.de/
Blumenstr. 4 Goethestr. 32
85417 Marzling 87724 Ottobeuren
Tel. +49(0)8161/976 96 - 11 +49(0)8332/936 69 13
Fax +49(0)8161/976 96 - 51 +49(0)8332/936 69 03
VAT ID / USt-ID Nr: DE 212838159 Germany