A bug with NSWindow's convertBaseToScreen: method ?
A bug with NSWindow's convertBaseToScreen: method ?
- Subject: A bug with NSWindow's convertBaseToScreen: method ?
- From: Mike Zornek <email@hidden>
- Date: Wed, 18 Apr 2007 05:49:30 -0400
In working on the results of my previous message/issue[1] and I believe I've
run into a bug with NSWindow's `convertBaseToScreen:` method. Or maybe just
a misunderstanding on my part.
> This Xcode project demos what I think is a bug with NSWindow's
> `convertBaseToScreen:` method. Basically when I pass it an origin from a
> button that lives within an NSBox the resulting point isn't the true screen
> origin.
>
> The app demos this by having two buttons, one in the window and one in a
> NSBox. When you click on the button it will position a Dummy window directly
> bellow the button. This works great for Button One, but for Button Two (which
> lives in the NSBox) the Dummy Window's position is off.
Demo project of "bug" is here:
http://mikezornek.com/temp/DemoBoxFrameBug.zip
Previous message (and why I'm trying to do this):
http://www.cocoabuilder.com/archive/message/cocoa/2007/4/17/182018
If you can provide any guidance I'd be thankful.
~ Mike
--
Work: http://ClickableBliss.com
Play: http://MikeZornek.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden