FROM : Devraj Mukherjee
DATE : Sat Feb 02 06:50:49 2008
Hi everyone,
I have a Window in my Nib file that I run in modal mode using [NSApp
runModalForWindow: aWindow]. By default a button on the Window issues
the [NSApp stopModal] and then the application continues.
However when someone hits the close button the application is still in
Modal mode. Is there a way of hooking onto the "close" action so I can
stop the application running in modal mode after the Window has been
closed.
Thanks.
--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
DATE : Sat Feb 02 06:50:49 2008
Hi everyone,
I have a Window in my Nib file that I run in modal mode using [NSApp
runModalForWindow: aWindow]. By default a button on the Window issues
the [NSApp stopModal] and then the application continues.
However when someone hits the close button the application is still in
Modal mode. Is there a way of hooking onto the "close" action so I can
stop the application running in modal mode after the Window has been
closed.
Thanks.
--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
| Related mails | Author | Date |
|---|---|---|
| Devraj Mukherjee | Feb 2, 06:50 | |
| Nir Soffer | Feb 5, 19:54 |






Cocoa mail archive

