Re: Finding out about new windows.

2008-04-01 Thread Paul FitzGerald
Thanks Rob. I thought I looked through all the window notifications. Maybe I just overlooked this. I'll try. This really is a stop-gap measure. I want to be implementing the drawing of all the dialogs myself but need to get this out with a reasonable solution in the mean time. Paul On Ap

Re: Finding out about new windows.

2008-04-01 Thread Rob Napier
You can get what you're looking for by observing NSWindowDidBecomeKeyNotification or several of the others. Look at the Notifications section at the bottom of NSWindow's documentation. Should be something like [[NSNotificationCenter defaultCenter] addObserver:self selector:... name:NSWindowDidBeco

Re: Finding out about new windows.

2008-04-01 Thread Ricky Sharp
On Apr 1, 2008, at 7:27 PM, Paul FitzGerald wrote: Thanks Ricky, Kyle and Rob. I do appreciate your comments, but none of this addresses my question. I started working from TN2062 several months ago and only after a ton of research and experimentation found that this alone does not meet my

Re: Finding out about new windows.

2008-04-01 Thread Paul FitzGerald
Thanks Ricky, Kyle and Rob. I do appreciate your comments, but none of this addresses my question. I started working from TN2062 several months ago and only after a ton of research and experimentation found that this alone does not meet my needs (for reasons I won't get into here). I do, in f

Re: Finding out about new windows.

2008-04-01 Thread Ricky Sharp
On Apr 1, 2008, at 6:29 PM, Kyle Sluder wrote: I'm pretty sure this is no longer the recommended way to do a kiosk application. Instead, you can use SetSystemUIMode to hide the menubar and dock (or replace the Finder as the first app launched). TN2062 < http://developer.apple.com/technotes/tn

Re: Finding out about new windows.

2008-04-01 Thread Rob Napier
This is a good part of the solution. You also want to consider your window level. Rather than taking over the entire screen, move your window level up to NSModalPanelWindowLevel-1 and put a masking window at NSModalPanelWindowLevel-2. That way the modal dialog will pop up over your app. -Rob On T

Re: Finding out about new windows.

2008-04-01 Thread Kyle Sluder
I'm pretty sure this is no longer the recommended way to do a kiosk application. Instead, you can use SetSystemUIMode to hide the menubar and dock (or replace the Finder as the first app launched). TN2062 < http://developer.apple.com/technotes/tn2002/tn2062.html > has more information. --Kyle Sl