Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.programmer.help > #91

Re: My own file copy and empty trash in OS 9.2.2

From nospam <nospam@nospam.invalid>
Newsgroups comp.sys.mac.programmer.help
Subject Re: My own file copy and empty trash in OS 9.2.2
Date 2011-12-05 13:36 -0800
Organization A noiseless patient Spider
Message-ID <051220111336100354%nospam@nospam.invalid> (permalink)
References <gastacara-1323101447@macgui.com> <no.email-46DC22.15553405122011@news.eternal-september.org>

Show all headers | View raw


In article <no.email-46DC22.15553405122011@news.eternal-september.org>,
David Stone <no.email@domain.invalid> wrote:

> > I want to replace file copy and empty trash
> > with my own procedure and dialog in OS 9.2.2.
> > How can I intercept/patch/overload these 2 functions in C++?
> > I'm using CodeWarrior Pro 5.
> > 
> > The reason is:
> > It has to be suspended when I'm using the mouse or the keyboard.
> > It has to be resumed after x seconds of inactivity.
> > I want a different dialog.
> 
> It has been a very long time since I've done classic OS programming,
> but I don't think you can do what you are asking. OS 9 and earlier
> had methods to add to the default file open and save dialogs
> within an application, including custom event handling code within
> the dialogs, but not system wide across all Finder dialogs/alerts
> from within an application.

it's definitely possible to intercept it, but it requires patching a
bunch of traps and is not at all straightforward.

Back to comp.sys.mac.programmer.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

My own file copy and empty trash in OS 9.2.2 gastacara@macgui.com (Cliff Huylebroeck) - 2011-12-05 16:10 +0000
  Re: My own file copy and empty trash in OS 9.2.2 David Stone <no.email@domain.invalid> - 2011-12-05 15:55 -0500
    Re: My own file copy and empty trash in OS 9.2.2 nospam <nospam@nospam.invalid> - 2011-12-05 13:36 -0800
      Re: My own file copy and empty trash in OS 9.2.2 gastacara@macgui.com (Cliff Huylebroeck) - 2011-12-07 15:26 +0000
        Re: My own file copy and empty trash in OS 9.2.2 nospam <nospam@nospam.invalid> - 2011-12-07 15:31 -0500
          Re: My own file copy and empty trash in OS 9.2.2 gastacara@macgui.com (Cliff Huylebroeck) - 2011-12-09 18:52 +0000

csiph-web