hello,
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.
regards,
thomas
OK, being relatively new to Perl, I stumbled upon Win32::GUI and I can see a
number of uses.
I am sure that newbie questions are, as it should be, usually answered with
"RTFM", but being mostly from the Win32 world (and slowly retreating), I
don't know where to get good reference materials.
I am
| 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
The samples that come with the module are generally very good place to
learn; I've found the documentation to be sketchy at times, though.
To answer your specific question, ->SetFocus() is the command you'll use.
For example:
my $Window = new Win32::GUI::Window(
-name => "Window",
4 matches
Mail list logo