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: Carbon Application Covering Dock?



Greetings,

Thanks a lot!

I was defining the window's class correctly as kDocumentWindowClass,
but for some reason I decided it needed it's own special group too...
Removing the group definition solved my problem.

--underspecified

On 10/26/07, Uli Kusterer < email@hidden> wrote:
On 25.10.2007, at 13:49, underspecified wrote:
> I use GetWindowBounds to assure that the window will not overlap
> the dock when it is maximized, but whenever
> the icons in the dock are magnified, they slide under the dock.
> Likewise, if I drag a non-maximized window into
> the dock's area, the application window overlaps the dock. Well
> behaved applications slide under the dock in
> both of these cases. I read a little about Z order in Cocoa. Is my
> problem somehow related to Z order? Is there
> any way to control Z order in Carbon?
>
> I tried the documentation on Apple dev, but I'm stuck. I would
> appreciate any help you can give.

  You're using the wrong window class or window level for your
windows. Regular windows are kDocumentWindowClass or similar, and
those window types stay behind the dock.

Cheers,
-- M. Uli Kusterer
"The Witnesses of TeachText are everywhere..."



 _______________________________________________
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

References: 
 >Carbon Application Covering Dock? (From: underspecified <email@hidden>)
 >Re: Carbon Application Covering Dock? (From: Uli Kusterer <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.