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: Window title bar sliding under the menu bar



Nope. Not using UFloatingDesktop.cp. I am actually using UCarbonDesktop.cp. and in the drag method, it uses the DragWindow:

void
UDesktop::DragDeskWindow(
LWindow* inWindow,
const EventRecord& inMacEvent,
const Rect& inDragRect)
{
// Drag without command key
// Select before dragging
if (!(inMacEvent.modifiers & cmdKey)) {
inWindow->Select();
}

::DragWindow(inWindow->GetMacWindow(), inMacEvent.where,
&inDragRect);
}

I was wondering the same thing yesterday.

Thanks for your help though.

Thanks,
Scott Mitchell

On Friday, May 16, 2003, at 12:49 AM, Matt Gough wrote:

Well I don't install the standard window handler at all, since I am not
using CE's right now for any window events. This is just a PowerPlant
Mach-O app. So maybe I need to install the standard handler for the
window's?


In your PowerPlant app, are you using UDesktop.cp or UFloatingDesktop.cp?

If you are using UFloatingDesktop, then that doesn't use DragWindow for
window movement, it uses DragGrayRgn, which I am guessing won't prevent you
going under the menu bar.

Matt
_______________________________________________
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.
_______________________________________________
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: Matt Gough <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.