FROM : Doug Knowles
DATE : Wed Jul 05 22:54:19 2006
I hesitate to ask this, but I've searched the archives and all I can
find is a message saying it's been discussed many times and I should
search the archives...
My app (by default) automatically re-opens files that were open the
last time it quit. I'd like to add the capability to temporarily
suppress this behavior by holding down the shift key during launch.
I've tried looking at the most recent event object, but since the app
just launched, there is no such event.
I have read that I should try using the Carbon APIs, but I'm getting
lost in the need to provide a GrafPtr (boy, does that take me back),
and it seems like it should be easier than that, or that there should
be a sample code snippet around, since I doubt that this is an
uncommon need.
Any better advice or references available than "search the archives"?
TIA,
Doug K;
DATE : Wed Jul 05 22:54:19 2006
I hesitate to ask this, but I've searched the archives and all I can
find is a message saying it's been discussed many times and I should
search the archives...
My app (by default) automatically re-opens files that were open the
last time it quit. I'd like to add the capability to temporarily
suppress this behavior by holding down the shift key during launch.
I've tried looking at the most recent event object, but since the app
just launched, there is no such event.
I have read that I should try using the Carbon APIs, but I'm getting
lost in the need to provide a GrafPtr (boy, does that take me back),
and it seems like it should be easier than that, or that there should
be a sample code snippet around, since I doubt that this is an
uncommon need.
Any better advice or references available than "search the archives"?
TIA,
Doug K;
| Related mails | Author | Date |
|---|---|---|
| Doug Knowles | Jul 5, 22:54 | |
| Tom Harrington | Jul 5, 23:14 | |
| Sean McBride | Jul 5, 23:21 | |
| Ricky Sharp | Jul 5, 23:36 | |
| Doug Knowles | Jul 6, 17:10 |






Cocoa mail archive

