> I have never used the -owner flag, so I have no idea what it does.

We've had that. Since searching the archives doesn't really produce any
hits, I searched my local mail folder instead :)

-----Original Message-----
From: Piske, Harald [mailto:[EMAIL PROTECTED]
Sent: Friday, March 16, 2001 08:36
To: 'perl-win32-gui-users@lists.sourceforge.net'
Subject: RE: [perl-win32-gui-users] SaveFile/OpenFile Dialogs


| how can I set the position of a GetSaveFile or GetOpenFile 
| Dialog? -top and
| -left don't seem to work.
| the dialog always shows up in the left upper corner of 
| desktop. using win32:gui
| 0.0.558.

It comes top left when it doesn't have an owner. Use

        -owner => $mainwindow->{-handle}

and it will show somewhat centered over the owner. provided you have a
window to own the dialog ... for a "stray" GetOpenFileName I don't have a
solution at hand.

_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users

Reply via email to