create NSWindow in Core Foundation tool
create NSWindow in Core Foundation tool
- Subject: create NSWindow in Core Foundation tool
- From: Frank Fenn <email@hidden>
- Date: Sun, 9 Mar 2003 17:59:52 -0700
Hi all,
I wrote a simple core foundation tool (no NIB, nothing) which runs
during system start
from ~/Library/StartupItems.
I've created a runloop and attached a NSTimer to it. All works fine. At
a specific time
I would like to display an info window.
If I create an NSWindow with mywin = [[NSWindow alloc]
initWithContenRect...]; I get
lots of runtime errors that there in no connection to some Core
Graphics component.
If I try to use CreteNewWindow() or NewWindow() the window is created
and displayed
but the runloop (and the tool) terminates immediately so I see the
window only for half
a second.
What can I do about this?
--
regards
Frank Fenn - Bright Light Software
_______________________________________________
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.