RE: Can a ScreenSaverView quit itself?
RE: Can a ScreenSaverView quit itself?
- Subject: RE: Can a ScreenSaverView quit itself?
- From: "Matt Pease" <email@hidden>
- Date: Wed, 23 Apr 2003 23:38:55 +0200
Agreed. In fact I just figured that one out.. all I needed to do was
to call
[super mouseEntered:nil];
from my ScreenSaverView implementation & the saver can signal to quit.
Only problem now is that when the saver signals to self-quit & the
password-lock is enabled, the saver doesn't quit & it keeps that dang
white screen floating in front of my slammin' saver.
I can't figure out how to draw above that damn curtain!
Is there a way to get a Carbon window to raise above the screensaver window
when it is saving? My saver is Carbon/CFM & I highly doubt I can port it
easily to Cocoa.
Or, can I get a CGrafPtr to the NSView? I could send that via the
AppleEvent
to my Carbon saver & the Carbon saver could draw on that. Possible?
Or, can my Cocoa saver create an NSWindow above itself & then get a CGrafPtr
to it & load my CFM saver like a bundle, passing in that CGrafPtr?
So much to experiment with & all I have is a slowpoke G3 400Mhz ibook.
Thanks very much-
Matt
>
-----Original Message-----
>
From: Charles Srstka [mailto:email@hidden]
>
Sent: Wednesday, April 23, 2003 11:18 PM
>
To: Matt Pease
>
Cc: email@hidden
>
Subject: Re: Can a ScreenSaverView quit itself?
>
>
>
This likely wouldn't be very popular with folks who use the screensaver
>
to password-lock their computer...
>
>
Charles
>
>
On Wednesday, April 23, 2003, at 03:47 PM, Matt Pease wrote:
>
>
> I'd like to make my screensaver quit by its own will (as opposed to
>
> having
>
> the
>
> frame work quit the screensaver in response to the user moving the
>
> mouse).
>
> Does anyone know how this might be done?
>
>
>
>
>
> Thanks in advance -
>
> 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.
_______________________________________________
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.