Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > OOP Powerplant for Mac > Re: Window pane...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 463 of 484
Post > Topic >>

Re: Window panes stay unactivated after AskDesignateFile() IsReplacing()

by "Neel" <nilesh_ibmr@[EMAIL PROTECTED] > Aug 16, 2006 at 02:03 AM

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@[EMAIL PROTECTED]
> wrote:
>
> > Michael Fielitz schrieb:
> >
> > > Hello,
> > >
> > > If a do***ent is saved with AskDesignateFile() and the user chose to
> > > replace the file with one of the same name, the contained panes
inside
> > > the do***ents 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 Do***ent App can
be
> > > used: Just select some ****tion of the text and save the do***ent
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 Cl***** 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
> do***entation beside the mactech article back in 1999. 
> 
> Michael
 




 6 Posts in Topic:
Window panes stay unactivated after AskDesignateFile() IsReplaci
michfiel@[EMAIL PROTECTED  2006-08-09 11:28:33 
Re: Window panes stay unactivated after AskDesignateFile() IsRep
groups@[EMAIL PROTECTED]   2006-08-11 04:30:42 
Re: Window panes stay unactivated after AskDesignateFile() IsRep
michfiel@[EMAIL PROTECTED  2006-08-15 15:37:26 
Re: Window panes stay unactivated after AskDesignateFile() IsRep
"Neel" <nile  2006-08-16 02:03:12 
Re: Window panes stay unactivated after AskDesignateFile() IsRep
michfiel@[EMAIL PROTECTED  2006-08-20 20:46:13 
Re: Window panes stay unactivated after AskDesignateFile() IsRep
"Neel" <nile  2006-08-21 03:51:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 21:48:45 CST 2008.