Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exposé and kHICommandSelectWindow




Hello everyone,

Just in case someone comes up against this as I have: The problem was that we have overlay windows that are in the same group as our document windows (I didn't add these and forgot about them).

Exposé was activating the overlay window and that brought up the doc window as well, but our code was not notified of this so problems would occur. Now, I detect when an overlay window is brought forward, look through its groups' windows to see if one is a doc window, and if it is, do the house keeping that needs to be done for that window.

Also, I wanted to publicly thank Eric for all his help: Thanks Eric.

Lyndsey

On Oct 31, 2005, at 5:28 PM, Lyndsey Ferguson wrote:


Hello all again,

I sent the below quoted email to the carbon list some time ago, and based on the lack of response and my further research on google, I've come to the conclusion that this is an Apple bug where my application is not being told that one of my windows is being brought to the front when Exposé is used to view and select from all app documents.

Before I submit a bug to radar, does anyone want to comment (Eric possibly?)

Thanks in advance,
Lyndsey


Hello Everyone,

I'm working on a defect in our application regarding Exposé and Window activation.

Some background:

1) We're still 90% in the WaitNextEvent model.
2) We're using PowerPlant for the basic App framework.
3) We're still CFM (we are working on converting to Mach-O within Xcode).

If we have multiple windows open, and the user presses F10 (Application Windows), and clicks on one of the inactive documents, our application never receives notification of this. This means that our pointer to which document is never updated, our scroll bars is not updated, and the window title bar is not activated. The window is brought to the front, but as far as our application knows, the last front most document is still front most.

I've tried doing a google search which seemed to indicate that the window should be receiving a kHICommandSelectWindow event. I've installed a kEventClassCommand/kEventProcessCommand and I do receive events when the user hits command-~, but not when the Exposé button is hit.  What do I need to do? (By the way, command-~ works fine - it properly activates the document window).

Thanks in advance for any tips, advice or solutions,
Lyndsey

--
Lyndsey D. Ferguson
Software Engineer : Platforms Group
Nemetschek North America, Inc.
mailto: email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

--

Lyndsey D. Ferguson

Software Engineer : Platforms Group

Nemetschek North America, Inc.

mailto: email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.