Re: Displaying License and RegistrationWindows before App Launches...
Re: Displaying License and RegistrationWindows before App Launches...
- Subject: Re: Displaying License and RegistrationWindows before App Launches...
- From: Nazzdeq <email@hidden>
- Date: Thu, 24 Oct 2002 03:39:52 -0700 (PDT)
Actually, I ended up just running the windows modal
and that solved my problem. Not sure how I missed
this, but I have been up all night working on other
stuff...
-Nazz
--- Maksymilian Wojakowski <email@hidden> wrote:
>
On 24/10/2002 5:02, " Nazzdeq"
>
<email@hidden> wrote:
>
>
> The problem is that the
>
applicationDidFinishLaunching
>
> notification fires even though I am still waiting
>
on
>
> the user to click on "Agree" for the Licensing and
>
to
>
> also register, so by the time they have done so,
>
the
>
> condition in applicationDidFinishLaunching is
>
already
>
> false and the final window is not displayed.
>
>
>
> The question is where exactly to put the final if
>
> condition to display the main window?
>
>
You should create a custom action eg - (IBAction)
>
showTheRealyMainWindow:(id)sender; launched by a
>
button. The action should
>
load a nib file or display the main window of the
>
main nib file. You could
>
also put a custom notification in this action, but
>
it is more complicated.
>
>
If you see any window, it means the application did
>
finish launching, it
>
does not matter what is the purpose of the window.
>
>
It seems you are newbie to Cocoa. I suggest to read
>
the book "Cocoa
>
programming for MacOS X" by A.Hillegass. I bought,
>
read form the begining to
>
the very end and now I have no problems with writing
>
simple applications.
>
Really good. In this book you'll find easy answer
>
how to load a nib file or
>
use a notification.
>
>
--
>
Maksymilian Wojakowski
>
mailto:email@hidden
>
Photos of Salt Mine in Wieliczka near
>
Krakow in Poland!
>
>
<http://homepage.mac.com/maxwoj/PhotoAlbum4.html>
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be
ignored.
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.