Back to Mac Usenet

From: "Neel" <nilesh_ibmr@yahoo.com>
To: All
Subject: Re: Window panes stay unactivat
Date:Sat, July 05, 2008 10:40 PM


Hi Michael,

I have come across the same situation earlier, AskDesignateFile() nav
API holds up the dlg if we try to replace, In this case i found the
following solution:

Set the dialogOptionFlag = kNavDontConfirmReplacement
and check for designator.IsReplacing() return value, according to the
return value you can put your own alert instead of Nav defualt error
message. So you can have the full control on your own alert . See if
this can help you.


Michael Fielitz wrote:
> <groups@barnholt.net> wrote:
>
> > Michael Fielitz schrieb:
> >
> > > Hello,
> > >
> > > If a document is saved with AskDesignateFile() and the user chose to
> > > replace the file with one of the same name, the contained panes inside
> > > the documents view won't get activated afterwards. Is this a bug in
> > > Navigation Services or does a workaround in PowerPlant exists?
> > > To illustrate the problem, The generic PowerPlant Document App can be
> > > used: Just select some portion of the text and save the document twice
> > > as "untitled". The selected text is still outlined but not inverted as
> > > it should be!
> >
> > Have you checked the duty chain with the PP Debugging facilities (PP
> > Debug menu)?
> > I guess it's screwed up after the dialog..
>
> Thank you for advising this. Though the _Debugging Classes were _In
> Progress at least in my CW Pro 8 install, I'll try to put them into my
> project. I should have done so earlier, but there's not much
> documentation beside the mactech article back in 1999.
>
> Michael


20


Running TeleFinder Server v5.7.
© Copyright Spider Island Software