[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Carbon: window close via accessibility API is broken
From: |
David Reitter |
Subject: |
Re: Carbon: window close via accessibility API is broken |
Date: |
Thu, 7 Sep 2006 16:02:44 +0100 |
On 6 Sep 2006, at 01:50, YAMAMOTO Mitsuharu wrote:
On Tue, 05 Sep 2006 09:37:15 +0900, YAMAMOTO Mitsuharu
<address@hidden> said:
It can be handled with Carbon events in kEventClassWindow.
kEventWindowClose for the Close button. kEventWindowGetIdealSize
and kEventWindowBoundsChanged for the Maximize button. The former
is easy to handle and I'll install a handler. But the latter is not
so straightforward and it may conflict with the existing code
because kEventWindowBoundsChanged is called in various situations.
Here's a patch for the zoom button (sorry, it was not the Maximize
button).
Yes, this does the job nicely for Maximize.
AXPress on Close and Minimize works, too.
Thanks on behalf of those who need it!
- David
smime.p7s
Description: S/MIME cryptographic signature