Getting window close events on a monitor target
Getting window close events on a monitor target
- Subject: Getting window close events on a monitor target
- From: Mike <email@hidden>
- Date: Thu, 26 Jul 2007 13:44:42 -0700
I have an event handler I install on the monitor target.
I want to get close window events in my handler.
My EventTypeSpec lists the correct events but when I close a window, my
handler never gets called. I know the handler is working because I also
specify keyboard events and I am getting called when a key is pressed.
My EventTypeSpec looks like this:
const EventTypeSpec kEvents[] = { { kEventClassCommand,
kEventCommandUpdateStatus },
{ kEventClassWindow, kEventWindowClosed },
{ kEventClassWindow, kEventWindowClickCloseRgn },
{ kEventClassKeyboard, kEventRawKeyDown },
{ kEventClassKeyboard, kEventRawKeyRepeat },
{ kEventClassKeyboard, kEventRawKeyModifiersChanged } };
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden