• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Attach a button to screensaverview?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Is it okay for a screen effect to change the screen depth and/or resolution
  • Next by Date: Which encoding?
  • Previous by thread: Re: Is it okay for a screen effect to change the screen depth and/or resolution
  • Next by thread: Which encoding?
  • Index(es):
    • Date
    • Thread