Re: Closing another window
Re: Closing another window
- Subject: Re: Closing another window
- From: "I. Savant" <email@hidden>
- Date: Wed, 10 May 2006 09:11:16 -0400
Tom:
If I may, you need to go back over the documentation and make sure
you fully understand the terminology. For instance, if you're using a
document-based application (NSDocument), why would you tell the
Application to close? The application is not the document and vice-
versa. You can always tell the document itself to -close if you need to.
Also, if all your application is doing with this type of document
is opening it, reading information, and immediately closing (in other
words, it's not displaying a user interface), there's no reason to
have a window open for that document to begin with.
I strongly suggest researching Cocoa in more detail. Without at
least a basic understanding of the document mechanisms (and using
*windows* for that matter), your project will be a complete and total
mess if you ever finish it. You should also invest in a book or two.
One top recommendation would be Aaron Hillegass' Cocoa Programming
for Mac OS X, which provides a very nicely-detailed, evenly paced
introduction to all the major Cocoa mechanisms a developer will need
to interact with to create a typical Cocoa application. A link is below.
http://www.amazon.com/gp/product/0321213149/002-1083244-8043254?
v=glance&n=283155
--
I.S.
On May 10, 2006, at 4:50 AM, Tom Wenger wrote:
Hai all,
I opened an application document with the use of NSOpenPanel I
need to
close it just after taking the inforatins fom the NSDocuent.
with out a single click.
I tryied [NSApplication close]; its not working. How could i
close my
newly opend application window.
--
Thanks &Regards
TomWenger.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden