Re: Watching for new windows
Re: Watching for new windows
- Subject: Re: Watching for new windows
- From: Modesitt Software <email@hidden>
- Date: Thu, 20 Nov 2003 11:49:02 -0800
On Nov 19, 2003, at 10:01 PM, Bill Cheeseman wrote:
His remarks suggested that the extra notification was coming from
Carbon,
but, if I understood him correctly, that the duplication only happened
when
an application element in a Cocoa application was targeted. (It seems
like
this is the opposite from what the person who started this thread
reported,
but I'm not sure I understood exactly how he encountered the duplicate
notifications.)
I started this thread, and I seem to get the opposite of this bug. My
intent is to log the frontmost window of the current application. When
my app starts, it creates an observer for (almost) every process
running. When the user changes windows using the current application,
my app is notified. So far so good. However, when the user switches
to a Carbon application, my observer receives two identical
notifications. When the user switches to a Cocoa application, my
observer receives no notifications. So I get either two or zero
notifications when the user switches to a different app, but all I
really want is one!
Thanks,
Bill
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.