On Thu, Oct 9, 2008 at 10:24 PM, Louis Demers <[EMAIL PROTECTED]> wrote:
> I'm working on a Document Based app
>
> My app has in its MainMenu.xib a controller that monitors a usb devices. I
> want this controller to send actions to the front most document. I tried
> many thing in the archives, inc
On Thu, Oct 9, 2008 at 10:24 PM, Louis Demers <[EMAIL PROTECTED]> wrote:
> [[NSApplication sharedApplication] sendAction:@selector(usbEvent:)
> to:(id)nil from:nil]; // From nil because this is just a c procedure
Don't do this. It's using the responder chain; what if your
document's window isn't
I'm working on a Document Based app
My app has in its MainMenu.xib a controller that monitors a usb
devices. I want this controller to send actions to the front most
document. I tried many thing in the archives, including
1) in my controller in the MainMenu.xib
[[NSApplication sharedAppli