> Let's say I have existing applications running, "A" with a window on top of > application "B". My program pops up a window and forces it to the front. So I > have "MyApp" on top of "A" on top of "B". Now I click on Application "A", > bringing it to the front. Now I have "A" on top of "MyApp" on top of "B". Now > I quit "A". As I quit "A", "MyApp" suddenly pops behind "B". > > The same thing happens whether I programmatically forced "MyApp" to the > front, or whether I bring it to the front by clicking on it. It doesn't > happen when I run LSUIElement=0 > > Can anyone tell me what is going on? I can't specifically tell you but it sounds to me like B pops in front of YourApp rather than YourApp behind B (testing with more apps should verify this).
If that is the case it would seem to imply that when A quits the system looks for the "next" app. In this case "next" seems to be determined in the same way command-tab chooses the "next" app. A lot of speculation on my part but if I'm right I wouldn't call it a bug! Matt _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com