home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!jbush
- From: jbush@magnus.acs.ohio-state.edu (J Eric Bush)
- Subject: Re: multifinder switching
- Message-ID: <1992Sep4.072837.5604@magnus.acs.ohio-state.edu>
- Sender: news@magnus.acs.ohio-state.edu
- Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
- Organization: The Ohio State University
- References: <9209031818.aa13404@Paris.ics.uci.edu>
- Date: Fri, 4 Sep 1992 07:28:37 GMT
- Lines: 24
-
-
- { Code deleted from original post }
-
- To get your program ro recognize other windows, you might need to add
- this to your HandleMouse routine:
-
- case inSysWindow:
- SystemClick(&gTheEvent, whichWindow);
- break;
-
- case inContent:
- if whichWindow <> FrontWindow then
- SelectWindow(whichWindow);
-
- Note: the inContent code is in Pascal format, you may need to change it
- some to work in C.
-
- The multifinder gets its activity time from your application if it is the
- front application. I would suggest looking at the setting of your sleep
- variable. It should be around 60.
- --
- ------------------------------------------------------------------------------
- J. Eric Bush
- Internet: jbush@magnus.acs.ohio-state.edu
-