Re: Plugin locks widget under Tiger
Re: Plugin locks widget under Tiger
- Subject: Re: Plugin locks widget under Tiger
- From: John Stiles <email@hidden>
- Date: Fri, 01 Feb 2008 09:34:40 -0800
Did you do
[theDialogWindow makeKeyAndOrderFront:NULL]
before beginning the modal session?
Ben Robinson wrote:
Hi, I'm hoping someone will be able to point me in the right direction
- I've done a little bit of searching, but I don't really know what
I'm looking for, the error probably simply comes from my very limited
knowledge of cocoa (and the debugging tools I should be looking at)!!
Anyway - I've written a plugin for a Dashboard Widget (my first proper
bit of code) that simply opens a dialog window. I wrote it in Xcode 3
on Leopard and everything works fine, but I come to test it on Tiger
and it fails.
To open the window I use the line:
[NSApp beginModalSessionForWindow:theDialogWindow];
And after this line has executed, the widget itself no longer excepts
keyboard entry. The dialog window is fine and works and the widget
seems ok as you can still flip it and press buttons, and it responses
to callbacks from the plugin, but all key presses simply result in an
error beep - incl cmd-r
I'm really confused over what I might try to resolve this
Any help would be fantastic, thanks
Ben.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden