Notification when a modal event loop is activated?
Notification when a modal event loop is activated?
- Subject: Notification when a modal event loop is activated?
- From: Julian Barkway <email@hidden>
- Date: Thu, 8 May 2003 21:13:50 +0200
I'm working on a sub-class of NSButton but I can't get it to show the
dimmed image whenever my application enters a modal event loop, unlike
the standard Cocoa controls. I am guessing that something somewhere
sends a notification to indicate that the app is about to go modal. Now
I've scoured the documentation and I can't find any references to such
a thing. NSApplication is the obvious candidate but none of the
available notifications appear to do what I want. I've already tried
the NSWindow 'didBecomeKey' and 'didResignKey' notifications and,
while these mostly do the trick, they do not distinguish between
windows opened modally and those opened normally.
Can anybody point me in the right direction here?
Thanks for any help,
Julian Barkway
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.