| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Thursday, May 15, 2003, at 02:17 PM, Gerry wrote:_______________________________________________
Actually, the Window Manager is supposed to prevent the window titlebar
from being dragged under the menubar automatically. Is this on Mac OS
X? Is it reproducable only in your app, or in other Carbon apps too?
It's actually the standard window event handler which is supposed to
prevent this.
No, it really is the Window Manager, not the standard window event handler.
When you call DragWindow (which is a Window Manager API), the DragWindow implementation prevents you from dragging the window's title bar underneath the menubar. It doesn't matter whether your window has the standard window handler or not.
If you override the standard event handler's behaviour, or don't use it
at all, then this can easily happen.
Actually, no, overriding the standard window event handler should make no difference. The only way I know of that you could break this would be to override kEventWindowBoundsChanging and explicitly modify the current-bounds parameter to be underneath the menubar.
-eric
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.
| References: | |
| >Re: Window title bar sliding under the menu bar (From: Eric Schlegel <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.