|No such thing as a small change|
Win32::FileOp window positioning?by spikey_wan (Scribe)
|on Mar 18, 2004 at 10:43 UTC||Need Help??|
spikey_wan has asked for the
wisdom of the Perl Monks concerning the following question:
Does anyone know how to position the dialog boxes from Win32::FileOp. i.e. the OpenDialog, SaveAsDialog and BrowseForFolder dialog boxes?
They seem to be relative to the console window, so that if the console is not displayed, or is not there at all (i.e. I generated an .exe file with perlapp --gui), then they appear in the top left corner of the screen, but if the console IS displayed then they appear with their top left corner close to the top left of the console.
I really want them positioned relative to my main Tk window, like I can with everything else. I have a feeling that it may be something to do with the handle option, but adding '-handle => $mw' didn't seem to make any difference.