Re: How to tell is an answer file dialog is up?

2007-10-05 Thread Mark Schonewille
Richard, I use the suspend message to disable the menubar before the answer or ask dialog shows up. I have modified the ask and answer dialogs to send a resume message to the topstack when they close and enable the menubar again when the resume message is received. (No modification is

Re: How to tell is an answer file dialog is up?

2007-10-05 Thread Richard Gaskin
Mark Schonewille wrote: Richard, I use the suspend message to disable the menubar before the answer or ask dialog shows up. I have modified the ask and answer dialogs to send a resume message to the topstack when they close and enable the menubar again when the resume message is received.

How to tell is an answer file dialog is up?

2007-10-04 Thread Richard Gaskin
In one of my apps I'm taking advantage of Rev 2.8.1's improved menu updating to revise how I handle menu enabling and disabling. I now have a generalized routine which takes care of the menu updates based on the type of window which is front most: one of my documents, or a modal, or a sheet.

How to tell is an answer file dialog is up?

2007-10-04 Thread Michael Binder
In one of my apps I'm taking advantage of Rev 2.8.1's improved menu updating to revise how I handle menu enabling and disabling. It's all working swell, with one exception: What do I do when a file selection dialog is up, such as with answer file and ask file? Hi Richard, This is a problem I

How to tell is an answer file dialog is up?

2007-10-04 Thread Michael Binder
Hi Richard, I just reread your post and realized you were asking about SYSTEM dialogs. My answer (a few minutes ago) was based on rev's ask and answer dialogs which are stacks. Sorry about the confusion... I can't think of a solution for you. --Michael Binder

Re: How to tell is an answer file dialog is up?

2007-10-04 Thread Richard Gaskin
Michael Binder wrote: In one of my apps I'm taking advantage of Rev 2.8.1's improved menu updating to revise how I handle menu enabling and disabling. It's all working swell, with one exception: What do I do when a file selection dialog is up, such as with answer file and ask file? This is a

Re: How to tell is an answer file dialog is up?

2007-10-04 Thread John Tregea
Hi Richard, Would it be possible to have the stack that is opened in either modal or sheet mode to send a message to your mainstack when it is opened (as part of the preopen handler) and another when it closes. That way your main stack does not have to discover at a point in time whether there