• 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
Dialog drawing and the screensaver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dialog drawing and the screensaver


  • Subject: Dialog drawing and the screensaver
  • From: John Cebasek <email@hidden>
  • Date: Thu, 24 Feb 2005 14:38:54 -0500

Hi All:

I've got a dialog that is to be displayed after the screensaver is dismissed (and the screen is still black).

My dialog is there as my logging records all events that are sent to the dialog.

I thought that showing the window above the screensaver layer would be enough (ala:

- (void)showLoginWindowAboveSS
{
trace.stream() << "Trying to make window above NSScreenSaver" << endl;
[window_ orderWindow:NSWindowBelow relativeTo:NSScreenSaverWindowLevel];
// [window_ orderFrontRegardless];


trace.stream() << "*** Window is at: " << window_ << endl;
}

And as you can see, I tried orderFrontRegardless.

And the dialog is 'managed' by:

NSModalSession modalSession = [NSApp beginModalSessionForWindow:lWindow];
int modalResult;
do
{
modalResult = [NSApp runModalSession:modalSession];
if (modalResult == NSOKButton)
{
[NSApp abortModal];
[NSApp endModalSession:modalSession];
}
} while (modalResult == NSRunContinuesResponse);

Anyway, I must be missing a small peice of information. How do I get my dialog 'punched through' the screensaver?

Thanks in advance for your time

John Cebasek
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: underlining for misspelled words draws in the wrong place
  • Next by Date: [OT] Mac market shares
  • Previous by thread: Re: Making NSView respond to command+key equivalent
  • Next by thread: Re: Dialog drawing and the screensaver
  • Index(es):
    • Date
    • Thread