Re: window.openDialog, C++

YuLo <[email protected]> Sun, 29 Dec 2013 00:51:16 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
On Sunday, December 29, 2013 5:21:37 AM UTC+4, Neil wrote:
> YuLo wrote:
> 
> 
> 
> >I registered notification and can catch event of window close.
> 
> >But where to get Arguments? The information what button was pressed.
> 
> >I learned methods of window and have not found how to get Arguments or any way to know what button was pressed?
> 
> >  
> 
> >
> 
> I'm not sure what you mean here. If you are referring to 
> 
> window.arguments then I think that's only available to JavaScript. If 
> 
> you're listening to window close events then they're not associated with 
> 
> a button.
> 
> 
> 
> -- 
> 
> Warning: May contain traces of nuts.

I need to know what button the user pressed <OK> or <cancel>.
Should I save or ignore information the user entered into the dialog form before
the window close.