On Wed, 30 Apr 2008 23:25, Hugh Sasse wrote: > I'm having problems with using winopendialog. I'm not sure what the > w parameter should be as it is creating a new window. I can't find > example usage of this yet. (microsoft's search is useless because it > won't search in scripts, and I've been building the index of my disk > with Namazu for 2 days now).
And in regards to this, have you found a solution? I know from my occasional dabbling with windowey programming, all windows except "Top Windows" need a parent window so that the windows manager knows it's relationship to other windows. EG when you minimise the main program, the window manager needs to automatically hide all the child windows. Try passing your parent window as w. Even it's name implies that purpose to me. The tree of windows also has purpose in the flow of events through the windows and the language you are writing. MS Windows, X and others all have distinct architectures for passing events around, and then you get the layer of the program or API on top of that (eg Unicon, ASF, MFC, Tk, etc) which may or may not choose to translate that flow into some other model. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group