Attach a button to screensaverview?
Attach a button to screensaverview?
- Subject: Attach a button to screensaverview?
- From: "Matt Pease" <email@hidden>
- Date: Thu, 22 May 2003 02:34:01 +0200
Hello everyone -
I'm completely stuck. Maybe someone could point me in the right
direction?
I'd like to add a button to my screensaver in the corner of the screen.
My screensaver class extends ScreenSaverView.
I've created a NIB & made its File's Owner MySaver, which is a subclass
of ScreenSaverView, which is a subclass of NSView ( I created each of these
in IB). Then I added an outlet to MySaver (mySaverWind) & added the
appropriate stuff
to the MySaver.h.
Then in the -startAnimation method, I called:
[NSBundle loadNibNamed:@"saver" owner:self];
and later I called:
[mySaverWind makeKeyAndOrderFront:self];
& this creates the window and shows it... But its BEHIND my
ScreensaverView Window.
So how can I show a control directly in MySaver -- the ScreensaverView
child?
Thanks-
Matt
_______________________________________________
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.