Re: Help please - Service windows won't become 'key'
Re: Help please - Service windows won't become 'key'
- Subject: Re: Help please - Service windows won't become 'key'
- From: Guy Umbright <email@hidden>
- Date: Wed, 12 Jan 2005 15:02:57 -0600
Thanks for the reply...my bad though for not describing the situation
sufficiently.
I never try to cross the application boundry, all this occurs with
regard to the the service windows.
There are 2 cases and both exhibit the problem:
1) The Service displays its modal window and can display a sheet for
preferences.
On that sheet is an text field. Clicking on this field will
select the current contents
(but not display the cursor) and any keypresses go to the app
active when the service
was invoke rather than this text field.
2) In the second case, an NSSavePanel is displayed as a standalone
window. (I have also
tried having the service window display and run the NSSavePanel as
a sheet off of it but
the behavior is the same) Clicking the filename text field
highlights the control and gives
me a cursor, but all key presses again go to the app active when
the service was invoked
Perhaps when I mentioned about getting the service windows to display
over the app was confusing. I meant
that my services windows would open *under* the current app's windows
rather than on top.
I am at a loss. I don't know if the problem is an activation issue (my
service appears to be the current focus
but isn't), something in the text handling, or something else
altogether.
If you actually want to experience the first case, you can download the
service (Sheen) from
http://www.kickstandsoft.com. I can post code too if that might help.
Guy
On Jan 12, 2005, at 12:42 AM, M. Uli Kusterer wrote:
At 21:17 Uhr -0600 11.01.2005, Guy Umbright wrote:
I have a service can display a sheet with a text field or an
NSSavePanel. I finally got these to display over the invoking app
window but I have one final problem...and its a biggie:
You can't have a sheet from one app (the service) on a window in
another app. That's not how it's intended to be. That's probably the
source of your problem.
Have the Service bring up a regular modal panel instead, or even
better, do like Accessorizer does and bring up the window of the app
that's actually providing the service.
-- Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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